[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17e91542-25fc-97e1-46a8-86d219dfe545@nbd.name>
Date: Fri, 3 Feb 2023 14:36:38 +0100
From: Felix Fietkau <nbd@....name>
To: Qingfang DENG <dqfext@...il.com>,
Jesper Dangaard Brouer <hawk@...nel.org>,
Ilias Apalodimas <ilias.apalodimas@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2] net: page_pool: use in_softirq() instead
On 03.02.23 02:16, Qingfang DENG wrote:
> From: Qingfang DENG <qingfang.deng@...lower.com.cn>
>
> We use BH context only for synchronization, so we don't care if it's
> actually serving softirq or not.
>
> As a side node, in case of threaded NAPI, in_serving_softirq() will
> return false because it's in process context with BH off, making
> page_pool_recycle_in_cache() unreachable.
>
> Signed-off-by: Qingfang DENG <qingfang.deng@...lower.com.cn>
Tested-by: Felix Fietkau <nbd@....name>
Powered by blists - more mailing lists