RE: LOR: sigacts vs Giant

2003-08-14 Thread John Baldwin
On 13-Aug-2003 Marcel Moolenaar wrote: Gang, When the copyout() in sendsig() fails and we call sigexit(), we get into the following LOR: lock order reversal 1st 0xe000300ffca8 sigacts (sigacts) @ kern/subr_trap.c:260 2nd 0xe0b75250 Giant (Giant) @ kern/kern_sig.c:2407

Re: LOR: sigacts vs Giant

2003-08-14 Thread Marcel Moolenaar
On Wed, Aug 13, 2003 at 02:34:15PM -0400, John Baldwin wrote: sendsig() on ia64 drops the lock around the copyout, see line 921 in machdep.c. It is not reacquired again until the very end of the function. You could change the assert at the top of the function to say that sigacts is not