Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rcu: Document that rcu_barrier() hurries lazy callbacks

This commit adds to the rcu_barrier() kerneldoc header stating that this
function hurries lazy callbacks and that it does not normally result in
additional RCU grace periods.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>

+5
+5
kernel/rcu/tree.c
··· 3800 3800 * to complete. For example, if there are no RCU callbacks queued anywhere 3801 3801 * in the system, then rcu_barrier() is within its rights to return 3802 3802 * immediately, without waiting for anything, much less an RCU grace period. 3803 + * In fact, rcu_barrier() will normally not result in any RCU grace periods 3804 + * beyond those that were already destined to be executed. 3805 + * 3806 + * In kernels built with CONFIG_RCU_LAZY=y, this function also hurries all 3807 + * pending lazy RCU callbacks. 3803 3808 */ 3804 3809 void rcu_barrier(void) 3805 3810 {