]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf2d33b3654dd835d442c1397102c4d8c8b1afa20
treee73a795bd99b39a886fe3f9b46f85dbf53db5316
parent12b81d7032704f4b23a2026d87c2da1fa28cf79b
[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