https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221356

--- Comment #12 from Konstantin Belousov <k...@freebsd.org> ---
(In reply to ota from comment #11)
NO_SWAPPING and vm_swap_enabled control the swap-out activity, this is the
action almost unrelated to the page swapping.  If the swap pager zones are left
NULL, then pageout (not swapout) would trap when pagedaemon tries to page out
anonymous memory.  For the same reason the vm_swap_enabled variable cannot be
used to avoid the issue, the variable control the swapping.

In the modern FreeBSD, the process is considered swapped out when all its
threads kernel stacks are marked as pageable.  In this state, the process'
thread is never allowed to be made runnable.  Idea is that non-running process
does not reference its private pages and they are eventually get paged out.

So the two later patches need serious rework.  The first patch is still not
re-merged with the latest HEAD code.  I only found one bit which might be taken
as is from it, see https://reviews.freebsd.org/D12660.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to