Re: [patch 3/4] pi-futex: Fix exit races and locking problems

2007-06-08 Thread Ingo Molnar
* Thomas Gleixner <[EMAIL PROTECTED]> wrote: > From: Alexey Kuznetsov <[EMAIL PROTECTED]> > > 1. New entries can be added to tsk->pi_state_list after task completed >exit_pi_state_list(). The result is memory leakage and deadlocks. > > 2. handle_mm_fault() is called under spinlock. The resu

[patch 3/4] pi-futex: Fix exit races and locking problems

2007-06-07 Thread Thomas Gleixner
From: Alexey Kuznetsov <[EMAIL PROTECTED]> 1. New entries can be added to tsk->pi_state_list after task completed exit_pi_state_list(). The result is memory leakage and deadlocks. 2. handle_mm_fault() is called under spinlock. The result is obvious. 3. results in self-inflicted deadlock insi