Re: [PATCH RFC] rcu/kfree: Do not request RCU when not needed

From: Uladzislau Rezki
Date: Wed Nov 02 2022 - 13:31:01 EST


>
> to wait for a GP. Or if the poll_state_synchronize_rcu(oldstate)) != 0
> queue_rcu_work().
>
A small fix. If poll_state_synchronize_rcu(oldstate)) == 0 then
queue_rcu_work() since a GP is still in progress.