Files
kernel_arpi/include/linux
Frederic Weisbecker 8e9c01c717 srcu: Initialize SRCU after timers
Once srcu_init() is called, the SRCU core will make use of delayed
workqueues, which rely on timers.  However init_timers() is called
several steps after rcu_init().  This means that a call_srcu() after
rcu_init() but before init_timers() would find itself within a dangerously
uninitialized timer core.

This commit therefore creates a separate call to srcu_init() after
init_timer() completes, which ensures that we stay in early SRCU mode
until timers are safe(r).

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Uladzislau Rezki <urezki@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-05-10 16:03:35 -07:00
..
2021-04-22 09:26:22 -07:00
2021-05-06 19:24:11 -07:00
2021-05-08 21:49:48 -06:00
2021-05-06 19:24:11 -07:00
2021-04-19 13:13:26 -04:00
2021-05-07 00:26:34 -07:00
2021-04-30 11:20:40 -07:00
2021-05-07 00:26:35 -07:00
2021-04-21 10:24:41 -05:00
2021-05-10 16:03:35 -07:00
2021-05-06 19:24:11 -07:00
2021-04-15 10:32:17 +02:00
2021-04-26 22:55:12 +01:00
2021-05-07 00:26:35 -07:00
2021-04-16 15:31:02 -07:00