From: Davidlohr Bueso Date: Fri, 30 Jan 2015 09:14:24 +0000 (-0800) Subject: locking/rwsem: Document barrier need when waking tasks X-Git-Tag: omap-for-v4.1/fixes-rc1~199^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e4b2bcf7b812e985e65b6c8a0255b1520a6e7e;p=pandora-kernel.git locking/rwsem: Document barrier need when waking tasks The need for the smp_mb() in __rwsem_do_wake() should be properly documented. Applies to both xadd and spinlock variants. Signed-off-by: Davidlohr Bueso Signed-off-by: Peter Zijlstra (Intel) Cc: Jason Low Cc: Linus Torvalds Cc: Michel Lespinasse Cc: Paul E. McKenney Cc: Tim Chen Link: http://lkml.kernel.org/r/1422609267-15102-3-git-send-email-dave@stgolabs.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed