Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 17:39:19 -0500
From:      David Schultz <das@FreeBSD.ORG>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Ed Schouten <ed@80386.nl>, src-committers@FreeBSD.ORG, Tom Rhodes <trhodes@FreeBSD.ORG>, svn-src-all@FreeBSD.ORG, Bruce Evans <brde@optusnet.com.au>, svn-src-head@FreeBSD.ORG
Subject:   Re: svn commit: r187607 - head/usr.bin/truss
Message-ID:  <20090126223919.GA32717@zim.MIT.EDU>
In-Reply-To: <20090126201146.GD2009@deviant.kiev.zoral.com.ua>
References:  <200901230058.n0N0wEjY026935@svn.freebsd.org> <20090125162123.GB17198@hoeg.nl> <20090126041926.J43097@delplex.bde.org> <20090125175751.GC17198@hoeg.nl> <20090126051910.E2148@besplex.bde.org> <20090126190310.GA31728@zim.MIT.EDU> <20090126201146.GD2009@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090126223919.GA32717>