Subject: Re: CVS commit: src/sys/kern
To: None <jdolecek@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 11/01/2003 08:57:32
On Friday, October 31, 2003, at 11:44 PM, Jaromir Dolecek wrote:
> Log Message:
> in sigtimedwait(), use malloc(9)ed (and thus wired) memory for the
> waitset
> we pass via sigctx, so that it guaranteed that the memory wouldn't be
> paged out at the time the signal arrives
This change is correct, but I think the commit message is a little
unclear. What you're really trying to avoid is using the kernel stack
for waitset (because the kernel stack might get swapped out). The
unclear-ness comes from the fact that other memory allocators also give
wired kernel memory, not just malloc().
Could you maybe clarify that in the log?
-- Jason R. Thorpe <thorpej@wasabisystems.com>