summaryrefslogtreecommitdiffstats
path: root/usr.bin/sendbug/sendbug.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-03-18 21:09:28 +0000
committerkettenis <kettenis@openbsd.org>2014-03-18 21:09:28 +0000
commitbb51cfd138ffdff4d1254927781bac190a9da13f (patch)
treeab90128af100a5563981eac9fd9af4e8877cf45d /usr.bin/sendbug/sendbug.c
parentdon't use $_ as "throw-away" variable, proper idiom is "undef" (diff)
downloadwireguard-openbsd-bb51cfd138ffdff4d1254927781bac190a9da13f.tar.xz
wireguard-openbsd-bb51cfd138ffdff4d1254927781bac190a9da13f.zip
To prevent lock ordering problems with the kernel lock, we need to make sure
we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels. No change for non-MULTIPROCESSOR kernels. ok miod@
Diffstat (limited to 'usr.bin/sendbug/sendbug.c')
0 files changed, 0 insertions, 0 deletions