* [tip:core/rcu] main: Replace rcu_barrier_sched() with rcu_barrier()
@ 2018-12-04 22:42 tip-bot for Paul E. McKenney
0 siblings, 0 replies; only message in thread
From: tip-bot for Paul E. McKenney @ 2018-12-04 22:42 UTC (permalink / raw)
To: linux-tip-commits; +Cc: tglx, akpm, hpa, paulmck, linux-mm, mingo, rostedt
Commit-ID: ba180314253947f2a6057e21a0f92b5c314454b1
Gitweb: https://git.kernel.org/tip/ba180314253947f2a6057e21a0f92b5c314454b1
Author: Paul E. McKenney <paulmck@linux.ibm.com>
AuthorDate: Tue, 6 Nov 2018 18:58:01 -0800
Committer: Paul E. McKenney <paulmck@linux.ibm.com>
CommitDate: Tue, 27 Nov 2018 09:21:41 -0800
main: Replace rcu_barrier_sched() with rcu_barrier()
Now that all RCU flavors have been consolidated, rcu_barrier_sched()
is but a synonym for rcu_barrier(). This commit therefore replaces
the former with the latter.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <linux-mm@kvack.org>
---
init/main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/init/main.c b/init/main.c
index ee147103ba1b..a45486330243 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1046,12 +1046,12 @@ static void mark_readonly(void)
{
if (rodata_enabled) {
/*
- * load_module() results in W+X mappings, which are cleaned up
- * with call_rcu_sched(). Let's make sure that queued work is
+ * load_module() results in W+X mappings, which are cleaned
+ * up with call_rcu(). Let's make sure that queued work is
* flushed so that we don't hit false positives looking for
* insecure pages which are W+X.
*/
- rcu_barrier_sched();
+ rcu_barrier();
mark_rodata_ro();
rodata_test();
} else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-12-04 22:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 22:42 [tip:core/rcu] main: Replace rcu_barrier_sched() with rcu_barrier() tip-bot for Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox