diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-11-25 16:52:36 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-12-04 12:26:54 -0800 |
commit | 967dcb8fe6a9a75be346400539261e0416baf370 (patch) | |
tree | d71ae080a4fb422277bdf6e47894caa010479d52 | |
parent | 5a9be7c628c5273f84abacebf7faf2488376e0f0 (diff) | |
download | linux-stable-967dcb8fe6a9a75be346400539261e0416baf370.tar.gz linux-stable-967dcb8fe6a9a75be346400539261e0416baf370.tar.bz2 linux-stable-967dcb8fe6a9a75be346400539261e0416baf370.zip |
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>
-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) flush_delayed_fput(); + rcu_end_inkernel_boot(); + if (ramdisk_execute_command) { ret = run_init_process(ramdisk_execute_command); if (!ret) |