Re: [PATCH -mm] futex-pi: fix possible pi_lock deadlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Thomas Gleixner <[email protected]> wrote:

> From: Ingo Molnar <[email protected]>
> 
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux