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

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

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

Change-Id: If4a8765624d0ae6ebc7ff0efb2f448b7482e75dd
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:25 -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
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_finish() 2026-01-14 18:12:25 -08:00