[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250115091548.46397-1-kuniyu@amazon.com>
Date: Wed, 15 Jan 2025 18:15:48 +0900
From: Kuniyuki Iwashima <kuniyu@...zon.com>
To: <kuba@...nel.org>
CC: <andrew+netdev@...n.ch>, <davem@...emloft.net>, <edumazet@...gle.com>,
<horms@...nel.org>, <jdamato@...tly.com>, <netdev@...r.kernel.org>,
<pabeni@...hat.com>, Kuniyuki Iwashima <kuniyu@...zon.com>
Subject: Re: [PATCH net-next v2 10/11] net: protect NAPI config fields with netdev_lock()
From: Jakub Kicinski <kuba@...nel.org>
Date: Tue, 14 Jan 2025 19:53:18 -0800
> Protect the following members of netdev and napi by netdev_lock:
> - defer_hard_irqs,
> - gro_flush_timeout,
> - irq_suspend_timeout.
>
> The first two are written via sysfs (which this patch switches
> to new lock), and netdev genl which holds both netdev and rtnl locks.
>
> irq_suspend_timeout is only written by netdev genl.
>
> Reviewed-by: Joe Damato <jdamato@...tly.com>
> Reviewed-by: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...zon.com>
Powered by blists - more mailing lists