From owner-freebsd-current@FreeBSD.ORG Wed Apr 7 20:52:38 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 537B8106566C; Wed, 7 Apr 2010 20:52:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 22F918FC15; Wed, 7 Apr 2010 20:52:38 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id CBA5146B3B; Wed, 7 Apr 2010 16:52:37 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id CA7328A025; Wed, 7 Apr 2010 16:52:35 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 7 Apr 2010 15:49:41 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100312171758.GB31089@dragon.NUXI.org> <4BBB5225.5020008@freebsd.org> In-Reply-To: <4BBB5225.5020008@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004071549.41672.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 07 Apr 2010 16:52:35 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: pluknet , Nathan Whitehorn Subject: Re: HEADS UP: COMPAT_IA32 renamed COMPAT_FREEBSD32 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2010 20:52:38 -0000 On Tuesday 06 April 2010 11:24:21 am Nathan Whitehorn wrote: > pluknet wrote: > > Hi, > > > > the interesting part for me is how to properly assert now a value of e.g. > > KINFO_PROC_SIZE varying on err.. different COMPAT_FREEBSD32 arches > > (say, FreeBSD would have _kern_proc FreeBSD32 compat layer for top/ps/). > > > > > Probably the cleanest thing would be to set KINFO_PROC_SIZE in > machine/proc.h instead of where it is now, and then also define a > KINFO_PROC32_SIZE or something in the same place. Also, that would be a > really nice feature. Yes, I think this sounds like the best approach. -- John Baldwin