From: Darren Hart Date: Thu, 18 Dec 2008 01:29:56 +0000 (-0800) Subject: futex: rename field in futex_q to clarify single waiter semantics X-Git-Tag: v2.6.29-rc1~572^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73500ac545d24610eb2cf8579ffc88957e9c5847;p=pandora-kernel.git 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 Acked-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed