diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-18 21:09:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-03-18 21:09:29 +0000 |
commit | 7e9918e631c8d89e4daeae75c43b6381c34a8610 (patch) | |
tree | 828ea53b259dc12b6fc1e746df56bf065d315300 /sys/lib/libkern | |
parent | 28ea9822515e909938e264f43480fc6f0e335354 (diff) |
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 'sys/lib/libkern')
0 files changed, 0 insertions, 0 deletions