summaryrefslogtreecommitdiffstats
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorPaul E. McKenney2018-11-07 04:10:53 +0100
committerPaul E. McKenney2019-01-26 00:28:22 +0100
commit337e9b07db3b8c7f7d68b849df32f434a1a3b831 (patch)
treec950596dd69fd76bb45cffde58abfa45241432b9 /kernel/sched/sched.h
parenttools/memory-model: Make scripts take "-j" abbreviation for "--jobs" (diff)
downloadkernel-qcow2-linux-337e9b07db3b8c7f7d68b849df32f434a1a3b831.tar.gz
kernel-qcow2-linux-337e9b07db3b8c7f7d68b849df32f434a1a3b831.tar.xz
kernel-qcow2-linux-337e9b07db3b8c7f7d68b849df32f434a1a3b831.zip
sched: Replace call_rcu_sched() with call_rcu()
Now that call_rcu()'s callback is not invoked until after all preempt-disable regions of code have completed (in addition to explicitly marked RCU read-side critical sections), call_rcu() can be used in place of call_rcu_sched(). This commit therefore makes that change. While in the area, this commit also updates an outdated header comment for for_each_domain(). Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r--kernel/sched/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index d04530bf251f..6665b9c02e2f 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -1260,7 +1260,7 @@ extern void sched_ttwu_pending(void);
/*
* The domain tree (rq->sd) is protected by RCU's quiescent state transition.
- * See detach_destroy_domains: synchronize_sched for details.
+ * See destroy_sched_domains: call_rcu for details.
*
* The domain tree of any CPU may only be accessed from within
* preempt-disabled sections.