提交 ba180314 编写于 作者: P Paul E. McKenney

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: NPaul 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>
上级 74401729
...@@ -1046,12 +1046,12 @@ static void mark_readonly(void) ...@@ -1046,12 +1046,12 @@ static void mark_readonly(void)
{ {
if (rodata_enabled) { if (rodata_enabled) {
/* /*
* load_module() results in W+X mappings, which are cleaned up * load_module() results in W+X mappings, which are cleaned
* with call_rcu_sched(). Let's make sure that queued work is * up with call_rcu(). Let's make sure that queued work is
* flushed so that we don't hit false positives looking for * flushed so that we don't hit false positives looking for
* insecure pages which are W+X. * insecure pages which are W+X.
*/ */
rcu_barrier_sched(); rcu_barrier();
mark_rodata_ro(); mark_rodata_ro();
rodata_test(); rodata_test();
} else } else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册