svn commit: r187607 - head/usr.bin/truss
das at FreeBSD.ORG
Mon Jan 26 14:36:44 PST 2009
On Mon, Jan 26, 2009, Kostik Belousov wrote:
> > Process kstack swapping was removed several years ago, so
> > "swapping out" a process just deactivates all of its pages.
> > In principle this could be safe to do with init, but it's probably
> > a bad idea, and perhaps could lead to deadlock in the
> > out-of-swap-space -> kill a process -> reparent the zombie to init
> > path. PS_INMEM will prevent init from being swapped out.
> Process kernel stacks swapping, or more explicitely, allowance to page out
> threads kernel stacks, is in the kernel. It is performed by vmdaemon,
> look for the call to swapout_procs().
Oops, you're right---I meant swapping of struct user.
Presumably there's nothing magic about init's pcb and kstack, though.
> P.S. Your Mail-Followup-To: header may be considered offensive.
In the absence of a Mail-Followup-To or Reply-To header in the
message I'm replying to, mutt seems to generate a Mail-Followup-To
for everyone but me (since it knows I'm subscribed and wants to
direct others not to CC me.) It doesn't know if anyone else wants a
CC or not because they didn't use Mail-Followup-To, so it includes
them by default. I think this is what it's supposed to do, but if
you know of a knob that I ought to turn, let me know.
More information about the svn-src-head