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 committed by Oscar Zhao
parent 358a0ddfde
commit 9d877f2dc7

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