[PATCH] futex_requeue() optimization
authorSebastien Dugue <sebastien.dugue@bull.net>
Tue, 27 Jun 2006 09:55:03 +0000 (02:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:48 +0000 (17:32 -0700)
commit59e0e0ace7d33e8c0c125042f153f80fcc56b39e
treee73a795bd99b39a886fe3f9b46f85dbf53db5316
parent95e02ca9bb5324360e7dea1ea1c563036d84a5e6
[PATCH] futex_requeue() optimization

In futex_requeue(), when the 2 futexes keys hash to the same bucket, there
is no need to move the futex_q to the end of the bucket list.

Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/futex.c