android_kernel_motorola_sm6375/kernel/rcu
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jules Irenge 48a94c8461
UPSTREAM: rcu: Add missing annotation for exit_tasks_rcu_start()
Sparse reports a warning at exit_tasks_rcu_start(void)

|warning: context imbalance in exit_tasks_rcu_start() - wrong count at exit

To fix this, this commit adds an __acquires(&tasks_rcu_exit_srcu).
Given that exit_tasks_rcu_start() does actually call __srcu_read_lock(),
this not only fixes the warning but also improves on the readability of
the code.

Change-Id: I0502bc1721d0b3533daf9b5f2b86d3b4f64ae86b
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
2026-01-14 18:12:24 -08:00
..
Kconfig
Kconfig.debug
Makefile
rcu.h
rcu_segcblist.c
rcu_segcblist.h
rcuperf.c
rcutorture.c rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment 2024-07-05 09:08:20 +02:00
srcutiny.c
srcutree.c
sync.c
tiny.c
tree.c This is the 5.4.229 stable release 2023-01-18 12:21:41 +00:00
tree.h
tree_exp.h rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait() 2023-03-11 16:43:54 +01:00
tree_plugin.h rcu: Protect ->defer_qs_iw_pending from data race 2025-08-28 16:21:26 +02:00
tree_stall.h
update.c UPSTREAM: rcu: Add missing annotation for exit_tasks_rcu_start() 2026-01-14 18:12:24 -08:00