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:
Mateusz Guzik 2023-03-07 20:47:44 +00:00
parent 73b951cd39
commit bdfd1adc99

View File

@ -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) \