projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34404ca
)
rcu: Move early boot callback tests earlier
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 20 Jan 2015 05:10:21 +0000
(21:10 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 3 Mar 2015 19:06:22 +0000
(11:06 -0800)
Because callbacks can now be posted quite early in boot, move the
early boot callback tests to precede RCU initialization.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcu/tree.c
b/kernel/rcu/tree.c
index 0317bf7d997f4b3065aa397fa7a03889cb09dc96..c8e6569c5fbdc8e58643abf37a631e7b5530c843 100644
(file)
--- a/
kernel/rcu/tree.c
+++ b/
kernel/rcu/tree.c
@@
-3948,6
+3948,8
@@
void __init rcu_init(void)
{
int cpu;
+ rcu_early_boot_tests();
+
rcu_bootup_announce();
rcu_init_geometry();
rcu_init_one(&rcu_bh_state, &rcu_bh_data);
@@
-3964,8
+3966,6
@@
void __init rcu_init(void)
pm_notifier(rcu_pm_notify, 0);
for_each_online_cpu(cpu)
rcu_cpu_notify(NULL, CPU_UP_PREPARE, (void *)(long)cpu);
-
- rcu_early_boot_tests();
}
#include "tree_plugin.h"