From owner-cvs-all Mon May 1 6:34: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7D9D137BB0C; Mon, 1 May 2000 06:33:57 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA82539; Mon, 1 May 2000 06:33:57 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <200005011333.GAA82539@freefall.freebsd.org> From: Peter Wemm Date: Mon, 1 May 2000 06:33:57 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/conf options param.c src/sys/i386/i386 machdep.c src/sys/kern sysv_msg.c sysv_sem.c src/sys/pc98/i386 machdep.c src/sys/sys msg.h sem.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG peter 2000/05/01 06:33:57 PDT Modified files: sys/alpha/alpha machdep.c sys/conf options param.c sys/i386/i386 machdep.c sys/kern sysv_msg.c sysv_sem.c sys/pc98/i386 machdep.c sys/sys msg.h sem.h Log: Move the MSG* and SEM* options to opt_sysvipc.h Remove evil allocation macros from machdep.c (why was that there???) and use malloc() instead. Move paramters out of param.h and into the code itself. Move a bunch of internal definitions from public sys/*.h headers (without #ifdef _KERNEL even) into the code itself. I had hoped to make some of this more dynamic, but the cost of doing wakeups on all sleeping processes on old arrays was too frightening. The other possibility is to initialize on the first use, and allow dynamic sysctl changes to parameters right until that point. That would allow /etc/rc.sysctl to change SEM* and MSG* defaults as we presently do with SHM*, but without the nightmare of changing a running system. Revision Changes Path 1.77 +1 -22 src/sys/alpha/alpha/machdep.c 1.198 +13 -13 src/sys/conf/options 1.38 +1 -46 src/sys/conf/param.c 1.392 +1 -22 src/sys/i386/i386/machdep.c 1.24 +94 -37 src/sys/kern/sysv_msg.c 1.27 +130 -15 src/sys/kern/sysv_sem.c 1.160 +1 -22 src/sys/pc98/i386/machdep.c 1.11 +6 -58 src/sys/sys/msg.h 1.22 +2 -73 src/sys/sys/sem.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message