]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix memory ordering problem in wake_futex()
authorAndrew Morton <akpm@osdl.org>
Sat, 24 Dec 2005 03:54:46 +0000 (19:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 24 Dec 2005 20:13:27 +0000 (12:13 -0800)
commit6b627bd7a6a5ca22bac4c5ee23468c86e02f136f
tree4d3b74956402b978417ee1026fa18409773cd72e
parent7964004cf38e31ab9406541231418a253f221d42
[PATCH] Fix memory ordering problem in wake_futex()

Fix a memory ordering problem that occurs on IA64. The "store" to q->lock_ptr
in wake_futex() can become visible before wake_up_all() clears the lock in the
futex_q.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/futex.c