diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-09 23:33:38 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-09-09 23:33:38 +0000 |
commit | 1c7fab06cc8bb849d0d5e440cfd6f5af82204cf0 (patch) | |
tree | 51f2c5666435425e4b6ecc42d84c46b824a0f5bc /usr.sbin/ldomctl/ldomctl.c | |
parent | 28407fd2d1c7ecd529eb9e663ec4d75f8c58f638 (diff) |
Add locking for interrupt-safe maps (those that have the VM_MAP_INTRSAFE flag
set). Since we cannot sleep in that case, use a mutex instead of an rwlock.
This is ok as the more complex code paths in the uvm code are not entered
for interrupt-safe maps as paging isn't allowed in those maps.
ok tedu@
Diffstat (limited to 'usr.sbin/ldomctl/ldomctl.c')
0 files changed, 0 insertions, 0 deletions