Subject: Re: [PATCH net-next v3 5/6] page_pool: add a lockdep check for recycling in hardirq

From: Jesper Dangaard Brouer <[email-masked]>
Date: Fri, 4 Aug 2023 12:30:52 +0200

On 03/08/2023 20.20, Alexander Lobakin wrote:
> From: Jakub Kicinski<[email-masked]>
> 
> Page pool use in hardirq is prohibited, add debug checks
> to catch misuses. IIRC we previously discussed using
> DEBUG_NET_WARN_ON_ONCE() for this, but there were concerns
> that people will have DEBUG_NET enabled in perf testing.
> I don't think anyone enables lockdep in perf testing,
> so use lockdep to avoid pushback and arguing :)
> 
> Signed-off-by: Jakub Kicinski<[email-masked]>
> Signed-off-by: Alexander Lobakin<[email-masked]>

I like this.

Acked-by: Jesper Dangaard Brouer <[email-masked]>