mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 07:25:31 +00:00
1bb816d3d1
Some of the conditions that caused vm_page_select_cache() to deactivate a page were wrong. For example, deactivating an unmanaged or wired page is a nop. Thus, if vm_page_select_cache() had ever encountered an unmanaged or wired page, it would have looped forever. Now, we assert that the page is neither unmanaged nor wired.