summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoel Fernandes <joelagnelf@nvidia.com>2026-01-23 09:30:31 -0500
committerBoqun Feng <boqun.feng@gmail.com>2026-01-23 11:12:25 -0800
commitcc74050f13e5f15de7835b96d633484dd6776f53 (patch)
treee9a0b1277465ce92fbf5173195202ce0eb3141b7 /scripts
parentb11c1efa7ffedbb3e880d31370d2cb37394ef9f4 (diff)
rcu/nocb: Extract nocb_defer_wakeup_cancel() helper
The pattern of checking nocb_defer_wakeup and deleting the timer is duplicated in __wake_nocb_gp() and nocb_gp_wait(). Extract this into a common helper function nocb_defer_wakeup_cancel(). This removes code duplication and makes it easier to maintain. Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Reviewed-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions