diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-11-25 19:52:36 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-12-04 15:26:54 -0500 |
commit | 967dcb8fe6a9a75be346400539261e0416baf370 (patch) | |
tree | d71ae080a4fb422277bdf6e47894caa010479d52 /init | |
parent | 5a9be7c628c5273f84abacebf7faf2488376e0f0 (diff) |
rcu: Wire up rcu_end_inkernel_boot()
This commit adds the invocation of rcu_end_inkernel_boot() just before
init is invoked. This allows the CONFIG_RCU_EXPEDITE_BOOT Kconfig
option to do something useful and prepares for the upcoming
rcupdate.rcu_normal_after_boot kernel parameter.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/init/main.c b/init/main.c index 9e64d7097f1a..c6ebefafa496 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -943,6 +943,8 @@ static int __ref kernel_init(void *unused) | |||
943 | 943 | ||
944 | flush_delayed_fput(); | 944 | flush_delayed_fput(); |
945 | 945 | ||
946 | rcu_end_inkernel_boot(); | ||
947 | |||
946 | if (ramdisk_execute_command) { | 948 | if (ramdisk_execute_command) { |
947 | ret = run_init_process(ramdisk_execute_command); | 949 | ret = run_init_process(ramdisk_execute_command); |
948 | if (!ret) | 950 | if (!ret) |