From owner-freebsd-current@FreeBSD.ORG Tue Apr 6 15:24:25 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 6BDBD106566B for ; Tue, 6 Apr 2010 15:24:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 386F28FC16 for ; Tue, 6 Apr 2010 15:24:24 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0L0G00220O4OO300@smtpauth3.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Tue, 06 Apr 2010 10:24:24 -0500 (CDT) Received: from comporellon.tachypleus.net (adsl-99-135-75-4.dsl.mdsnwi.sbcglobal.net [99.135.75.4]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0L0G00I1JO4M89A0@smtpauth3.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Tue, 06 Apr 2010 10:24:22 -0500 (CDT) Date: Tue, 06 Apr 2010 10:24:21 -0500 From: Nathan Whitehorn In-reply-to: To: pluknet Message-id: <4BBB5225.5020008@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.135.75.4 X-Spam-PmxInfo: Server=avs-12, Version=5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2010.4.6.151229, SenderIP=99.135.75.4 References: <20100312171758.GB31089@dragon.NUXI.org> <20100312.125032.270969355930630649.imp@bsdimp.com> <20100322185331.GA88847@dragon.NUXI.org> <20100322.130939.70320533309323962.imp@bsdimp.com> User-Agent: Thunderbird 2.0.0.24 (X11/20100320) Cc: freebsd-current@freebsd.org 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: Tue, 06 Apr 2010 15:24:25 -0000 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. -Nathan