Date: Thu, 3 Mar 2005 10:21:52 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> To: Scott Long <scottl@samsco.org> Cc: John Baldwin <jhb@freebsd.org> Subject: Re: cvs commit: src/sys/kern kern_sig.c Message-ID: <Pine.GSO.4.43.0503031020180.2058-100000@sea.ntplx.net> In-Reply-To: <422719E0.10703@samsco.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0503031020180.2058-100000>