Page MenuHomeFreeBSD

vm_swapout: Remove a special case from vm_swapout_map_deactivate_pages()
ClosedPublic

Authored by markj on Sun, Mar 29, 7:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 18, 11:39 AM
Unknown Object (File)
Sat, Apr 18, 11:39 AM
Unknown Object (File)
Sat, Apr 18, 9:38 AM
Unknown Object (File)
Sat, Apr 18, 3:44 AM
Unknown Object (File)
Fri, Apr 17, 4:38 AM
Unknown Object (File)
Thu, Apr 16, 7:38 PM
Unknown Object (File)
Thu, Apr 16, 7:31 PM
Unknown Object (File)
Sat, Apr 11, 8:05 PM
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