Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern




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@localhost>




Home | Main Index | Thread Index | Old Index