Re: [PATCH] net: raise RCU qs after each threaded NAPI poll

From: Steven Rostedt
Date: Thu Mar 07 2024 - 13:50:33 EST


On Thu, 7 Mar 2024 16:57:33 +0000
Mark Rutland <mark.rutland@xxxxxxx> wrote:

> * Use rcu_tasks_trace to synchronize updates?

Yes. I think I wanted both. The above to make sure it covers all cases
where something could be preempted, and a case for those covered when RCU
isn't watching (which always has preemption disabled).

My mistake was I thought synchronize_rcu_tasks_rude() did both. But I just
found out recently that it is not a superset of synchronize_rcu_tasks().

But it really needs it in every location that synchronize_rcu_tasks_rude()
is called.

-- Steve