Re: more signal locking bugs?

Magnus Naeslund (mag@fbab.net)
Mon, 17 Feb 2003 18:09:14 +0100


Linus Torvalds <torvalds@transmeta.com> wrote:
>
> Doh.
>
> This should fix it.

[snip]

> + spin_lock_irq(&task->sighand->siglock);
> + collect_sigign_sigcatch(task, &sigign, &sigcatch);
> + spin_lock_irq(&task->sighand->siglock);

[snip]

You take the lock twice here?

Magnus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/