]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't increment addl_page_shortage for wired pages.
authormarkj <markj@FreeBSD.org>
Fri, 18 May 2018 16:59:58 +0000 (16:59 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 18 May 2018 16:59:58 +0000 (16:59 +0000)
commit7d33bd5057a712d207a46edecad0aae2718ffccd
treeca74aa466e523c87dd9659ab0db1cb6e50cce5f9
parentffaf48277ffac930ef026dfd6aa65e2a03bb4e23
Don't increment addl_page_shortage for wired pages.

Such pages are dequeued as they're encountered during the inactive queue
scan, so by the time we get to the active queue scan, they should have
already been subtracted from the inactive queue length.

Reviewed by: alc
Differential Revision: https://reviews.freebsd.org/D15479
sys/vm/vm_pageout.c