[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZR1eRZhuR9OXNw+M@kernel.org>
Date: Wed, 4 Oct 2023 14:44:53 +0200
From: Simon Horman <horms@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: skb_queue_purge_reason() optimizations
On Tue, Oct 03, 2023 at 06:19:20PM +0000, Eric Dumazet wrote:
> 1) Exit early if the list is empty.
>
> 2) splice the list into a local list,
> so that we block hard irqs only once.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists