Page MenuHomeFreeBSD

vm_swapout: Remove a special case from vm_swapout_map_deactivate_pages()
ClosedPublic

Authored by markj on Mar 29 2026, 7:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 15, 7:35 AM
Unknown Object (File)
Fri, May 15, 2:44 AM
Unknown Object (File)
Thu, May 14, 5:11 PM
Unknown Object (File)
Mon, May 11, 11:47 PM
Unknown Object (File)
Sun, May 10, 5:15 PM
Unknown Object (File)
Sun, May 10, 5:09 PM
Unknown Object (File)
Fri, May 8, 8:34 AM
Unknown Object (File)
Sun, May 3, 9:13 AM
Subscribers

Details

Summary

John points out that this probably should have been removed in commit
472888018ce, which removed a special case where we'd set desired=0 if
the target process has P_INMEM clear. It's not obvious to me that the
desired=0 case can't arise by setting an RSS limit to 0, but I'm not
sure why we'd try to go the extra mile in that case anyway.

Reported by: jhb
Fixes: 472888018ce1 ("proc: Remove kernel stack swapping support, part 6")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable