| commit | a2d0e2bba98ff146271788e860ae137cb39bf147 | [log] [tgz] |
|---|---|---|
| author | Joel Fernandes <joelagnelf@nvidia.com> | Mon Jan 19 18:12:23 2026 -0500 |
| committer | Paul E. McKenney <paulmck@kernel.org> | Wed Jan 21 11:01:56 2026 -0800 |
| tree | 0db1f5105e60ab59f8421b97ccdb4cd99286a127 | |
| parent | e850979f355c070f9c303332fd31ecce4a942721 [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> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>