summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2013-07-14 21:22:08 +0000
committerkettenis <kettenis@openbsd.org>2013-07-14 21:22:08 +0000
commit896994691a629b6201d2ae484e64785aab5fc4a8 (patch)
tree62b0671a5bb85f8067c45edf2b2f13cd3ff86b36 /lib/libc/stdlib
parentmerge the relevant bits of dhcp(8) into dhclient(8) and dhcpd(8), (diff)
downloadwireguard-openbsd-896994691a629b6201d2ae484e64785aab5fc4a8.tar.xz
wireguard-openbsd-896994691a629b6201d2ae484e64785aab5fc4a8.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.
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions