[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250308091200.58af6d70@kernel.org>
Date: Sat, 8 Mar 2025 09:12:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Stanislav Fomichev <stfomichev@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org, sdf@...ichev.me
Subject: Re: [PATCH net-next] net: move misc netdev_lock flavors to a
separate header
On Fri, 7 Mar 2025 19:33:41 -0800 Stanislav Fomichev wrote:
> On 03/07, Jakub Kicinski wrote:
> > Move the more esoteric helpers for netdev instance lock to
> > a dedicated header. This avoids growing netdevice.h to infinity
> > and makes rebuilding the kernel much faster (after touching
> > the header with the helpers).
> >
> > The main netdev_lock() / netdev_unlock() functions are used
> > in static inlines in netdevice.h and will probably be used
> > most commonly, so keep them in netdevice.h.
> >
> > Signed-off-by: Jakub Kicinski <kuba@...nel.org>
>
> Acked-by: Stanislav Fomichev <sdf@...ichev.me>
Applied (with an addition for Eric's fix).
--
pw-bot: accept
Powered by blists - more mailing lists