Subject: Re: [PATCH net v2 1/2] page_pool: fix timing for checking and disabling napi_local

From: Jakub Kicinski <[email-masked]>
Date: Tue, 8 Oct 2024 17:40:22 -0700

On Wed, 25 Sep 2024 15:57:06 +0800 Yunsheng Lin wrote:
> Use rcu mechanism to avoid the above concurrent access problem.
> 
> Note, the above was found during code reviewing on how to fix
> the problem in [1].

The driver must make sure NAPI cannot be running while
page_pool_destroy() is called. There's even an WARN()
checking this.. if you know what to look for.