Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba180314 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul 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>
parent 74401729
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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