OSDN Git Service

rcu-tasks: Fix s/rcu_add_holdout/trc_add_holdout/ typo in comment
authorNeeraj Upadhyay <neeraju@codeaurora.org>
Wed, 18 Aug 2021 07:28:39 +0000 (12:58 +0530)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 15 Sep 2021 18:37:51 +0000 (11:37 -0700)
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h

index 7e26417..75e7888 100644 (file)
@@ -991,7 +991,7 @@ static void trc_wait_for_one_reader(struct task_struct *t,
 
        // If this task is not yet on the holdout list, then we are in
        // an RCU read-side critical section.  Otherwise, the invocation of
-       // rcu_add_holdout() that added it to the list did the necessary
+       // trc_add_holdout() that added it to the list did the necessary
        // get_task_struct().  Either way, the task cannot be freed out
        // from under this code.