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
358a0ddfde
commit
9d877f2dc7
@ -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 New Issue
Block a user