From: Johannes Berg <johannes@sipsolutions.net>
To: Kuniyuki Iwashima <kuniyu@google.com>, Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, linux-wireless@vger.kernel.org
Subject: Re: [GIT PULL] wireless-next-2026-10-07
Date: Thu, 15 Oct 2026 14:27:26 +0200 [thread overview]
Message-ID: <44cb773984f61ae85b8c42904ef1ce7a62e85e4e.camel@sipsolutions.net> (raw)
In-Reply-To: <CAAVpQUATko2Oig53r1+VHe+4Y3fFeX1xOw5RAnXtUAGwvQoB5A@mail.gmail.com> (sfid-20261008_040528_485050_028310B5)
On Wed, 2026-10-07 at 19:05 -0700, Kuniyuki Iwashima wrote:
>
> Also,
> I hope we could remove the long comment in __rtnl_unlock().
So I sent my next PR, and we could therefore do that now. I also checked
across the other places in the tree, and isotp_release() was the only
one that seems to do something similar, keeping a socket pinned around
rtnl_unlock(), but I don't think that could cause a similar problem.
I was going to send a patch, but then I didn't (and am sending this mail
instead) because I'm not really sure what we should do with the WARN_ON.
On the one hand, it's no longer strictly _necessary_, code that queues a
work item (unregistered a netdev) and then calls __rtnl_unlock()
explicitly wouldn't have any expectation of completing that soon.
On the other hand, the next random code that acquired the rtnl and then
unlocked it would suddenly have to do the unregistration work for some
other code and it'd be accounted to that thread and cause latency there
(not that it can have much expectation on latency while using the rtnl
...), so in some way the WARN_ON() still seems justified?
Anyway, the cfg80211 bits are gone once the PR lands, so you can remove
the comment (and possibly WARN_ON) whichever way you prefer :)
johannes
next prev parent reply other threads:[~2026-10-15 12:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 20:57 [GIT PULL] wireless-next-2026-10-07 Johannes Berg
2026-10-07 23:36 ` Jakub Kicinski
2026-10-08 2:05 ` Kuniyuki Iwashima
2026-10-08 7:44 ` Johannes Berg
2026-10-08 15:01 ` Johannes Berg
2026-10-09 21:24 ` Kuniyuki Iwashima
2026-10-15 12:27 ` Johannes Berg [this message]
2026-10-15 12:43 ` Oliver Hartkopp
2026-10-15 12:54 ` Johannes Berg
2026-10-15 13:13 ` Oliver Hartkopp
2026-10-07 23:40 ` patchwork-bot+netdevbpf
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=44cb773984f61ae85b8c42904ef1ce7a62e85e4e.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=kuba@kernel.org \
--cc=kuniyu@google.com \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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