From: Stanislav Fomichev <stfomichev@gmail.com>
To: Jakub Kicinski <kuba@kernel.org>
Cc: davem@davemloft.net, netdev@vger.kernel.org, edumazet@google.com,
pabeni@redhat.com, andrew+netdev@lunn.ch, horms@kernel.org,
sdf@fomichev.me
Subject: Re: [PATCH net-next] net: move misc netdev_lock flavors to a separate header
Date: Fri, 7 Mar 2025 19:33:41 -0800 [thread overview]
Message-ID: <Z8u6laRzRAoxyXH_@mini-arch> (raw)
In-Reply-To: <20250307183006.2312761-1-kuba@kernel.org>
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@kernel.org>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
next prev parent reply other threads:[~2025-03-08 3:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-07 18:30 [PATCH net-next] net: move misc netdev_lock flavors to a separate header Jakub Kicinski
2025-03-08 3:33 ` Stanislav Fomichev [this message]
2025-03-08 17:12 ` Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z8u6laRzRAoxyXH_@mini-arch \
--to=stfomichev@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sdf@fomichev.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).