cvs commit: src/sys/kern kern_sig.c

Peter Jeremy PeterJeremy at optushome.com.au
Fri Mar 4 17:56:43 PST 2005


On Fri, 2005-Mar-04 18:47:04 -0500, David Schultz wrote:
>vm.swap_enabled *does* control kstack swapping only.

Not according to it's documentation: "Enable entire process swapout".
And based on a quick check of the code I can't see anything in the
code path that restricts vm.swap_enabled to kstacks only.

That said, the option "NO_SWAPPING" does state that it controls
swapping of stack pages only but appears to implement a superset of
vm.swap_enabled.

ISTR that by the time the pager's done it's worst, there's not much
left of a process but I thought it was more than the kstack.  At
the very least, the documentation for vm.swap_enabled is inconsistent
with NO_SWAPPING.

> What you're
>thinking of, namely, paging in general, is controlled by whether
>or not you have any swap devices configured.

And maybe vm.disable_swapspace_pageouts

-- 
Peter Jeremy


More information about the cvs-all mailing list