futex: Clarify mark_wake_futex memory barrier usage
authorDarren Hart (VMware) <dvhart@infradead.org>
Fri, 14 Apr 2017 22:31:38 +0000 (15:31 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 15 Apr 2017 14:03:46 +0000 (16:03 +0200)
commit38fcd06e9b7f6855db1f3ebac5e18b8fdb467ffd
treea5b9dd2ff5d7ba22e0953270de1b63290e29df03
parent94ffac5d847cfd790bb37b7cef1cad803743985e
futex: Clarify mark_wake_futex memory barrier usage

Clarify the scenario described in mark_wake_futex requiring the
smp_store_release(). Update the comment to explicitly refer to the
plist_del now under __unqueue_futex() (previously plist_del was in the
same function as the comment).

Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170414223138.GA4222@fury
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c