From: Paul E. McKenney Date: Thu, 18 Apr 2013 21:25:03 +0000 (-0700) Subject: rcu: Fix rcu_barrier() documentation X-Git-Tag: v3.12-rc1~170^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d84297c99bd9f63baf92c9f2d36582f879858664;p=pandora-kernel.git rcu: Fix rcu_barrier() documentation There was a time when rcu_barrier() was guaranteed to wait for at least a grace period, but that time ended due to energy-efficiency concerns. So now rcu_barrier() is a no-op if there are no RCU callbacks queued in the system. This commit updates the documentation to reflect this change. Now, rcu_barrier() often does wait for a grace period, so, one could imagine some modification to rcu_barrier() to more efficiently handle cases where both rcu_barrier() and a grace period are needed. But this must wait until someone shows a real-world need for a change. Reported-by: Bob Copeland Reported-by: Johannes Berg Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- Reading git-diff-tree failed