lkml.org 
[lkml]   [2006]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] futex-pi: fix possible pi_lock deadlock

* Thomas Gleixner <tglx@linutronix.de> wrote:

> From: Ingo Molnar <mingo@elte.hu>
>
> The lock validator detected a possible deadlock between tasklist lock
> and task->pi_lock. Prevent the deadlock by disabling interrupts across
> pi_lock operations.

some background about how this bug sneaked in: we have pi_lock as an
irq-safe lock in the -rt tree but we didnt realize that it was needed in
the pi-futex implementation too. The race window is pretty narrow there
so it didnt trigger during testing. (the window is wider in -rt)

Ingo
-
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/

\
 
 \ /
  Last update: 2006-05-04 10:29    [W:0.032 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site