[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z8u6laRzRAoxyXH_@mini-arch>
Date: Fri, 7 Mar 2025 19:33:41 -0800
From: Stanislav Fomichev <stfomichev@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
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 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>
Powered by blists - more mailing lists