diff options
| author | Joel Fernandes <joelagnelf@nvidia.com> | 2026-07-18 13:15:34 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-07-24 16:59:24 -0700 |
| commit | 545b3ac4c1db3c455cbe1bd1ed305e54ad87512e (patch) | |
| tree | a7b4820f2d2945300546e6d7a7131ee18a2a0269 /scripts/basic | |
| parent | 4137d69124a29506a09756af0aaf0c7acd2a60f6 (diff) | |
| download | linux-545b3ac4c1db3c455cbe1bd1ed305e54ad87512e.tar.gz linux-545b3ac4c1db3c455cbe1bd1ed305e54ad87512e.zip | |
rcu: Remove unused func parameter from callback-enqueue functions
Ever since the kvfree_rcu() tracing moved out of the callback-enqueue
path, rcutree_enqueue() no longer looks at the callback function
pointer: By the time it is invoked, __call_rcu_common() has already
stored the function into rhp->func, and the enqueue path only adds
the rcu_head to the segmented callback list and emits tracepoints
that do not take the function pointer.
Nevertheless, the function pointer is still threaded through
call_rcu_core(), call_rcu_nocb(), and rcutree_enqueue(), forcing
each level to carry a dead argument.
Remove the parameter from all three functions, from the no-CBs stub,
and from the corresponding declarations. Anything needing the
callback function can still get it from rhp->func.
No functional change.
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
