]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rcu/nocb: Only cancel nocb timer if not polling
authorFrederic Weisbecker <frederic@kernel.org>
Tue, 23 Feb 2021 00:10:09 +0000 (01:10 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 6 Apr 2021 23:07:14 +0000 (16:07 -0700)
commit833782af51169a17f36d4a98cbacdca1dad0398f
treea751d4675220ac9b0b160ba21bdb6e94ad3614c2
parent8bbb0f4ffa1f3323118bff2f50632f1a3977f45d
rcu/nocb: Only cancel nocb timer if not polling

This commit refrains deleting the ->nocb_timer if rcu_nocb is polling
because it should not ever have been queued in the polling case.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_plugin.h