diff options
author | 2022-02-16 16:42:06 +0100 | |
---|---|---|
committer | 2022-04-11 17:05:58 -0700 | |
commit | 2eed973adc6e749439730e53e6220b122398d319 (patch) | |
tree | 5b4ec105e89f95eac714ff3e2dbb54eadb69204b /include/linux/sched.h | |
parent | rcu/nocb: Move rcu_nocb_is_setup to rcu_state (diff) | |
download | wireguard-linux-2eed973adc6e749439730e53e6220b122398d319.tar.xz wireguard-linux-2eed973adc6e749439730e53e6220b122398d319.zip |
rcu: Assume rcu_init() is called before smp
The rcu_init() function is called way before SMP is initialized and
therefore only the boot CPU should be online at this stage.
Simplify the boot per-cpu initialization accordingly.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Uladzislau Rezki <uladzislau.rezki@sony.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions