diff options
| author | 2008-12-17 17:29:56 -0800 | |
|---|---|---|
| committer | 2008-12-18 11:42:23 +0100 | |
| commit | 73500ac545d24610eb2cf8579ffc88957e9c5847 (patch) | |
| tree | 1e36cc5585bd25a1d8cbe973d229250bee0cef32 /fs/jbd2/commit.c | |
| parent | futex: make clock selectable for FUTEX_WAIT_BITSET (diff) | |
| download | linux-dev-73500ac545d24610eb2cf8579ffc88957e9c5847.tar.xz linux-dev-73500ac545d24610eb2cf8579ffc88957e9c5847.zip | |
futex: rename field in futex_q to clarify single waiter semantics
Impact: simplify code
I've tripped over the naming of this field a couple times.
The futex_q uses a "waiters" list to represent a single blocked task and
then calles wake_up_all().
This can lead to confusion in trying to understand the intent of the code,
which is to have a single futex_q for every task waiting on a futex.
This patch corrects the problem, using a single pointer to the waiting
task, and an appropriate call to wake_up, rather than wake_up_all.
Compile and boot tested on an 8way x86_64 machine.
Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
