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
F163123606: D56140.diff
Mon, Jul 20, 7:04 AM
Unknown Object (File)
Fri, Jul 17, 1:04 PM
Unknown Object (File)
Fri, Jul 17, 5:49 AM
Unknown Object (File)
Wed, Jul 15, 7:15 AM
Unknown Object (File)
Wed, Jul 15, 7:15 AM
Unknown Object (File)
Mon, Jul 13, 1:13 PM
Unknown Object (File)
Mon, Jul 13, 2:57 AM
Unknown Object (File)
Sun, Jul 12, 1:31 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 71789
Build 68672: arc lint + arc unit