From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 02:48:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E54F316A4CE for ; Tue, 28 Sep 2004 02:48:20 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A058043D3F for ; Tue, 28 Sep 2004 02:48:20 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so16234rnk for ; Mon, 27 Sep 2004 19:48:20 -0700 (PDT) Received: by 10.38.67.72 with SMTP id p72mr330791rna; Mon, 27 Sep 2004 19:48:19 -0700 (PDT) Received: by 10.38.13.17 with HTTP; Mon, 27 Sep 2004 19:48:19 -0700 (PDT) Message-ID: <84dead7204092719482f8031d5@mail.gmail.com> Date: Tue, 28 Sep 2004 08:18:19 +0530 From: Joseph Koshy To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <84dead72040926185171776b99@mail.gmail.com> <20040927040137.GA3274@dragon.nuxi.com> <84dead7204092621403fddd11e@mail.gmail.com> cc: freebsd-current@freebsd.org Subject: Re: [patch] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joseph Koshy List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 02:48:21 -0000 jk> The pmc(4) driver (being written) needs a way of informing the jk > userland libpmc(3) (also being written) about the kind of CPU des> Is there a good reason why pmc(4) can't pass this information out as a des> string? Less chance of future breaks in binary compatibility that des> way. I'm not sure if using strings vs. 'binary' structures gains us much in future binary compatibility: changes in the format of the string have the potential to break binary compatibility anyway. Strings work well when they are "simple".