diff options
author | alc <alc@FreeBSD.org> | 2010-05-06 16:39:43 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-05-06 16:39:43 +0000 |
commit | 4b98b3d3203f8e23130597b9b6ab9f1487ba69e6 (patch) | |
tree | dfc0fa6f0a9194a6c782ff3251e16f9d16a9aade /sys/kern/subr_hints.c | |
parent | e6323f71424e4730372914a47d9b7b5f4bb410b4 (diff) | |
download | FreeBSD-src-4b98b3d3203f8e23130597b9b6ab9f1487ba69e6.zip FreeBSD-src-4b98b3d3203f8e23130597b9b6ab9f1487ba69e6.tar.gz |
Push down the page queues lock inside of vm_page_free_toq() and
pmap_page_is_mapped() in preparation for removing page queues locking
around calls to vm_page_free(). Setting aside the assertion that calls
pmap_page_is_mapped(), vm_page_free_toq() now acquires and holds the page
queues lock just long enough to actually add or remove the page from the
paging queues.
Update vm_page_unhold() to reflect the above change.
Diffstat (limited to 'sys/kern/subr_hints.c')
0 files changed, 0 insertions, 0 deletions