From owner-freebsd-arch@FreeBSD.ORG Tue Feb 12 00:20:42 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD39316A41A; Tue, 12 Feb 2008 00:20:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 2055B13C44B; Tue, 12 Feb 2008 00:20:41 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 231631448-1834499 for multiple; Mon, 11 Feb 2008 19:21:00 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1C0KcZ3053780; Mon, 11 Feb 2008 19:20:39 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Attilio Rao" Date: Mon, 11 Feb 2008 19:16:19 -0500 User-Agent: KMail/1.9.7 References: <200802081802.54313.jhb@freebsd.org> <200802111431.00640.jhb@freebsd.org> <3bbf2fe10802111248t40717349y5a571e1cfc09b877@mail.gmail.com> In-Reply-To: <3bbf2fe10802111248t40717349y5a571e1cfc09b877@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200802111916.19765.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 11 Feb 2008 19:20:39 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/5779/Mon Feb 11 14:56:48 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= , arch@freebsd.org Subject: Re: [PATCH] Automatic kernel version module dependencies.. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 00:20:42 -0000 On Monday 11 February 2008 03:48:14 pm Attilio Rao wrote: > 2008/2/11, John Baldwin : > > On Sunday 10 February 2008 06:24:37 am Dag-Erling Sm=C3=B8rgrav wrote: > > > "M. Warner Losh" writes: > > > > Dag-Erling_Sm=C3=B8rgrav writes: > > > > > ...provided they were built from the same config... I think > > > > > MUTEX_PROFILING has been fixed, but there may still be cases whe= re > > > > > the ABI changes dependening on kernel options. > > > > These are usually well documented. But I can't find any in the > > > > current doc set. Maybe you could point me at options that do this= so > > > > we can document them (and maybe add a #warning when compiling with > > > > them)? > > > > > > Here's one I found: DEBUG_LOCKS changes the size of struct lock, whi= ch > > > changes the size and layout of struct vnode. > > > > > > Yes, DEBUG_LOCKS, MUTEX_PROFILING (O.B.E), and PAE are the ones I know = of. =20 We > > could employ a similar strategy for these btw. For example, you could= do > > this for PAE: >=20 > LOCK_PROFILING also, but only on 7.0. Ah, ok, I had checked on HEAD. =2D-=20 John Baldwin