mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 00:58:36 -04:00
vm: add VM_OBJECT_UNLOCK
Reviewed by: kib Reviewed by: markj Tested by: pho Differential Revision: https://reviews.freebsd.org/D38964
This commit is contained in:
parent
73b951cd39
commit
bdfd1adc99
1 changed files with 2 additions and 0 deletions
|
|
@ -267,6 +267,8 @@ extern struct vm_object kernel_object_store;
|
|||
rw_wowned(&(object)->lock)
|
||||
#define VM_OBJECT_WUNLOCK(object) \
|
||||
rw_wunlock(&(object)->lock)
|
||||
#define VM_OBJECT_UNLOCK(object) \
|
||||
rw_unlock(&(object)->lock)
|
||||
#define VM_OBJECT_DROP(object) \
|
||||
lock_class_rw.lc_unlock(&(object)->lock.lock_object)
|
||||
#define VM_OBJECT_PICKUP(object, state) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue