diff options
author | 2009-04-07 23:23:50 -0700 | |
---|---|---|
committer | 2009-04-08 12:58:20 +0200 | |
commit | bab5bc9e857638880facef76e4b4c3fa807f8c73 (patch) | |
tree | 8129a3fc18f770021bfe202900ecc2cb144d18c7 /kernel/rtmutex.c | |
parent | futex: add requeue_pi functionality (diff) | |
download | wireguard-linux-bab5bc9e857638880facef76e4b4c3fa807f8c73.tar.xz wireguard-linux-bab5bc9e857638880facef76e4b4c3fa807f8c73.zip |
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>
Diffstat (limited to 'kernel/rtmutex.c')
0 files changed, 0 insertions, 0 deletions