From owner-cvs-all Sat Nov 16 22:57:29 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6DFC37B401; Sat, 16 Nov 2002 22:57:28 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4200743E4A; Sat, 16 Nov 2002 22:57:28 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.5) with ESMTP id gAH6vQen000455 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 17 Nov 2002 01:57:27 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id gAH6vQ7G000452; Sun, 17 Nov 2002 01:57:26 -0500 (EST) (envelope-from wollman) Date: Sun, 17 Nov 2002 01:57:26 -0500 (EST) From: Garrett Wollman Message-Id: <200211170657.gAH6vQ7G000452@khavrinen.lcs.mit.edu> To: Alfred Perlstein Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_aio.c src/lib/libc/gen sysconf.c src/sys/posix4 posix4.h posix4_mib.c In-Reply-To: <200211170415.gAH4FYwL022645@repoman.freebsd.org> References: <200211170415.gAH4FYwL022645@repoman.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > posix4_mib.c: > Initialize the aio configuration parameters to -1 > to indicate that it is not loaded. > Add a facility (p31b_iscfg()) to determine if a posix4 facility has been > initialized to avoid having to re-order the SYSINITs. > Use p31b_iscfg() to determine if aio has had a chance to run yet which > is likely if it is compiled into the kernel and avoid spamming its > values. > Introduce a macro P31B_VALID() instead of doing the same comparison over > and over. Everything in this file is utterly bogus and should be replaced with normal sysctls in the relevant source files. You have done quite a lot of work to work around this bug; it might have been easier to just fix it. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message