rcu-tasks: Clarify read side section info for rcu_tasks_rude GP primitives
authorNeeraj Upadhyay <neeraju@codeaurora.org>
Wed, 18 Aug 2021 07:28:43 +0000 (12:58 +0530)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 15 Sep 2021 18:41:19 +0000 (11:41 -0700)
commita6517e9ce0115e33617062c9e73b4c5e6f787525
treecffd62fe125a583d26fcc58fe65dc99b21b5c04d
parentd39ec8f3c12abe3710f7031ce3d5564bda12b19e
rcu-tasks: Clarify read side section info for rcu_tasks_rude GP primitives

RCU tasks rude variant does not check whether the current
running context on a CPU is usermode. Read side critical section ends
on transition to usermode execution, by the virtue of usermode
execution being schedulable. Clarify this in comments for
call_rcu_tasks_rude() and synchronize_rcu_tasks_rude().

Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h