commit | bab5bc9e857638880facef76e4b4c3fa807f8c73 | [log] [tgz] |
---|---|---|
author | Darren Hart <dvhltc@us.ibm.com> | Tue Apr 07 23:23:50 2009 -0700 |
committer | Thomas Gleixner <tglx@linutronix.de> | Wed Apr 08 12:58:20 2009 +0200 |
tree | 8129a3fc18f770021bfe202900ecc2cb144d18c7 | |
parent | 52400ba946759af28442dee6265c5c0180ac7122 [diff] |
futex: fixup unlocked requeue pi case Thomas's testing caught a problem when the requeue target futex is unowned and multiple tasks are requeued to it. This patch ensures the FUTEX_WAITERS bit gets set if futex_requeue() will requeue one or more tasks in addition to the one acquiring the lock. Signed-off-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>