cvs commit: src/sys/kern kern_sig.c

Daniel Eischen deischen at freebsd.org
Thu Mar 3 15:21:56 GMT 2005


On Thu, 3 Mar 2005, Scott Long wrote:
>
> It's not about convenience or taking the easy way out.  Let's fix
> sigwait() to have the proper assumptions and go from there.  I'm
> inclined to agree with John that the problem is not widespread or
> impossible to track down.  Fixing it is not hard either, we already have
> the PHOLD()/PRELE() functions for doing exactly what is needed here.

Can you add assertions in msleep(), cv_wait(), etc, to
panic if the object is on the kernel stack and the
stack is swappable?

-- 
DE



More information about the cvs-src mailing list