]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the MSG* and SEM* options to opt_sysvipc.h
authorpeter <peter@FreeBSD.org>
Mon, 1 May 2000 13:33:56 +0000 (13:33 +0000)
committerpeter <peter@FreeBSD.org>
Mon, 1 May 2000 13:33:56 +0000 (13:33 +0000)
commit1adeb7ffb16ca15e57e103f0b216470ee1d82d99
treef0135209ea67526adebb763b0b5d2397fb40369b
parentfd776bd6a962dc53c287071dcc755263f80b2cf8
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.
12 files changed:
sys/alpha/alpha/machdep.c
sys/amd64/amd64/machdep.c
sys/conf/options
sys/conf/param.c
sys/i386/i386/machdep.c
sys/kern/subr_param.c
sys/kern/sysv_msg.c
sys/kern/sysv_sem.c
sys/pc98/i386/machdep.c
sys/pc98/pc98/machdep.c
sys/sys/msg.h
sys/sys/sem.h