Page MenuHomeFreeBSD

Don't bump addl_page_shortage for wired pages.
ClosedPublic

Authored by markj on May 18 2018, 4:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 3:53 PM
Unknown Object (File)
Wed, May 1, 3:53 PM
Unknown Object (File)
Wed, May 1, 3:53 PM
Unknown Object (File)
Wed, May 1, 9:51 AM
Unknown Object (File)
Feb 12 2024, 7:39 PM
Unknown Object (File)
Dec 23 2023, 4:21 AM
Unknown Object (File)
Sep 14 2023, 8:32 PM
Unknown Object (File)
Sep 14 2023, 8:32 PM
Subscribers

Details

Summary

Such pages are dequeued as they're encountered during the scan, so by
the time we get to the active queue scan, they should have already been
accounted for in vmd_pagequeues[PQ_INACTIVE].pq_len. With batching this
is not quite true since the physical removal of wired pages from the
page queue is deferred until the batch queue is full, but the number of
unaccounted pages is bounded by ncpu*VM_BATCHQUEUE_SIZE and in practice
will be smaller than 1*VM_BATCHQUEUE_SIZE since the page daemon thread
will likely be running on the same CPU throughout the scan.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable