Skip to content

Commit

Permalink
rcu: Wire up rcu_end_inkernel_boot()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
paulmck committed Dec 4, 2015
1 parent 5a9be7c commit 967dcb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 967dcb8

Please sign in to comment.