]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Permit vm_pager_has_page() to run with a shared lock. Introduce
authorjeff <jeff@FreeBSD.org>
Mon, 19 Aug 2019 22:25:28 +0000 (22:25 +0000)
committerjeff <jeff@FreeBSD.org>
Mon, 19 Aug 2019 22:25:28 +0000 (22:25 +0000)
commitff73c73cdd33ddcebe8c5ab12615f0049f1867ab
tree51c8d0b1c9dcc065f71102d5647cdaba9d774b06
parent57f00b655fbc37f688b875ad27e47c75af660e9f
Permit vm_pager_has_page() to run with a shared lock.  Introduce
VM_OBJECT_DROP/VM_OBJECT_PICKUP to handle functions that are called with
uncertain lock state.

Reviewed by: kib, markj
Tested by: pho
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D21310
sys/vm/vm_object.h
sys/vm/vm_pager.h
sys/vm/vnode_pager.c