freebsd-dev/sys/i386/linux
Matthew Dillon 356861db03 Remove the MPSAFE keyword from the parser for syscalls.master.
Instead introduce the [M] prefix to existing keywords.  e.g.
MSTD is the MP SAFE version of STD.  This is prepatory for a
massive Giant lock pushdown.  The old MPSAFE keyword made
syscalls.master too messy.

Begin comments MP-Safe procedures with the comment:
/*
 * MPSAFE
 */
This comments means that the procedure may be called without
Giant held (The procedure itself may still need to obtain
Giant temporarily to do its thing).

sv_prepsyscall() is now MP SAFE and assumed to be MP SAFE
sv_transtrap() is now MP SAFE and assumed to be MP SAFE

ktrsyscall() and ktrsysret() are now MP SAFE (Giant Pushdown)
trapsignal() is now MP SAFE (Giant Pushdown)

Places which used to do the if (mtx_owned(&Giant)) mtx_unlock(&Giant)
test in syscall[2]() in */*/trap.c now do not.  Instead they
explicitly unlock Giant if they previously obtained it, and then
assert that it is no longer held to catch broken system calls.

Rebuild syscall tables.
2001-08-30 18:50:57 +00:00
..
imgact_linux.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
linux_dummy.c Added the linux_sysinfo function to implement sysinfo(2). 2001-07-23 06:22:10 +00:00
linux_genassym.c Remove unneeded <stddef.h> #includes. 2000-10-29 16:57:42 +00:00
linux_locore.s Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
linux_machdep.c Add a new MI pointer to the process' trapframe p_frame instead of using 2001-06-29 11:10:41 +00:00
linux_proto.h Added the linux_sysinfo function to implement sysinfo(2). 2001-07-23 06:22:10 +00:00
linux_syscall.h Regen after adding linux_sched_get_priority_max() and 2001-04-01 06:43:09 +00:00
linux_sysent.c Added the linux_sysinfo function to implement sysinfo(2). 2001-07-23 06:22:10 +00:00
linux_sysvec.c Remove the MPSAFE keyword from the parser for syscalls.master. 2001-08-30 18:50:57 +00:00
linux.h With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
Makefile Make the target a little bit more generic. 2000-11-01 08:47:34 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master Added the proper arguments the sysinfo system call 2001-07-23 06:17:34 +00:00