aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2024-02-23 17:07:24 -0800
committerUladzislau Rezki (Sony) <[email protected]>2024-04-15 19:36:41 +0200
commit8db610c3bd93e6929348f6e5271f2f905f80d82e (patch)
treec37083db14b18ffb0c52c1a9389d4afdb1ddad0b /scripts/gdb/linux/modules.py
parentc342b42fa47f4257fccfeadc8e32c51b1be17a1f (diff)
rcu-tasks: Replace exit_tasks_rcu_start() initialization with WARN_ON_ONCE()
Because the Tasks RCU ->rtp_exit_list is initialized at rcu_init() time while there is only one CPU running with interrupts disabled, it is not possible for an exiting task to encounter an uninitialized list. This commit therefore replaces the conditional initialization with a WARN_ON_ONCE(). Reported-by: Frederic Weisbecker <[email protected]> Closes: https://lore.kernel.org/all/ZdiNXmO3wRvmzPsr@lothringen/ Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions