summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/libkern.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2013-07-10 21:31:11 +0000
committerkettenis <kettenis@openbsd.org>2013-07-10 21:31:11 +0000
commitb66b8d2ce6ca01edea8d584dede5194eb284213a (patch)
treea2312ecf79293895164be88ee0ddbba45cc7cb5f /sys/lib/libkern/libkern.h
parentsync (diff)
downloadwireguard-openbsd-b66b8d2ce6ca01edea8d584dede5194eb284213a.tar.xz
wireguard-openbsd-b66b8d2ce6ca01edea8d584dede5194eb284213a.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 matthew@
Diffstat (limited to 'sys/lib/libkern/libkern.h')
0 files changed, 0 insertions, 0 deletions