diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-11-27 18:04:02 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-11-27 18:04:02 +0000 |
commit | a38b2fbb3705b793598a6e2cf7ce27746f398676 (patch) | |
tree | a417e6e13a8331dca2b2e34d65d8cc8da6d28574 /sys/compat/svr4/svr4_syscallargs.h | |
parent | 922d37fc9056808e0aba874018477acff6582bda (diff) |
Add possibility to add flags to syscalls in syscalls.master to mark
syscalls as NOLOCK and MPSAFE. The flags have slightly different semantics:
NOLOCK - the syscall doesn't grab any locks whatsoever.
MPSAFE - the syscall deals with its own locking.
What this means in practice is that NOLOCK syscalls can always be done
without the biglock. The MPSAFE syscalls can be done without the biglock
on CPUs that don't handle interrupts that require biglock (to preserve
lock ordering).
deraadt@ ok
Diffstat (limited to 'sys/compat/svr4/svr4_syscallargs.h')
0 files changed, 0 insertions, 0 deletions