cvs commit: src/sys/kern subr_sleepqueue.c

Dag-ErlingSmørgrav des at des.no
Wed Mar 3 12:33:39 PST 2004


John Baldwin <jhb at FreeBSD.org> writes:
> Now realize that p_sigacts is a refcount'd struct shared between rfork'd 
> processes (i.e. Linux threads).  The sleep's don't actually get woken up via 
> a wakeup, they get woken up via a signal, so the wait channel is really a 
> dummy.  Try changing those three msleep's to sleep on &ps and &p->p_sigacts 
> and see if that fixes the panic.

well, I still have subr_sleepqueue.c 1.1, but with the changes you
suggest I no longer see the "Mismatches locks" message.  Patch
attached (has style issues though).

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kern_sig.diff
Type: text/x-patch
Size: 1226 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040303/7e8396c4/kern_sig.bin


More information about the cvs-all mailing list