freebsd-skq/sys/amd64
dillon 08e732a88b 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
..
acpica Don't do sleep state transition if specified sleep state is not 2001-07-22 19:13:54 +00:00
amd64 Remove the MPSAFE keyword from the parser for syscalls.master. 2001-08-30 18:50:57 +00:00
conf Argh! Revert accidental commit. 2001-08-25 07:42:27 +00:00
include vm_page_zero_idle() is no longer MD. 2001-08-25 04:54:25 +00:00
isa Add ACPI attachments. 2001-08-30 09:17:03 +00:00
pci It turns out that while Toshiba laptops don't want to route interrupts 2001-08-28 16:35:01 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00