]> git.ipfire.org Git - thirdparty/linux.git/commit
rcu-tasks: Remove unnecessary smp_store_release() in cblist_init_generic()
authorZqiang <qiang.zhang@linux.dev>
Mon, 5 Jan 2026 01:19:51 +0000 (09:19 +0800)
committerJoel Fernandes <joelagnelf@nvidia.com>
Mon, 30 Mar 2026 19:48:14 +0000 (15:48 -0400)
commit3e3d7d8f3ad35deaf3f8150f66555ef54cf1754e
treefdc9b96cb86ce958d40cd6a8b5727ef68ab6c4a5
parent6c3d9ad795a212ccfdfc0359524ab0d040c58757
rcu-tasks: Remove unnecessary smp_store_release() in cblist_init_generic()

The cblist_init_generic() is executed during the CPU early boot
phase due to commit:30ef09635b9e ("rcu-tasks: Initialize callback
lists at rcu_init() time"), at this time, only one boot CPU is
online and the irq is disabled. this commit therefore use routine
assignment replace of smp_store_release() and WRITE_ONCE() in the
cblist_init_generic().

Signed-off-by: Zqiang <qiang.zhang@linux.dev>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
kernel/rcu/tasks.h