From: Ben Greear <greearb@candelatech.com>
To: "Ömer Mete Kaya" <omermetekaya0@gmail.com>,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH] wifi: cfg80211: avoid holding rtnl_mutex across all cfg80211_leave() calls
Date: Mon, 7 Sep 2026 09:38:42 -0700 [thread overview]
Message-ID: <81a437a9-4ffd-4d6d-84c9-c093af5c46a5@candelatech.com> (raw)
In-Reply-To: <20260906002657.620076-2-omermetekaya0@gmail.com>
On 9/5/26 5:25 PM, Ömer Mete Kaya wrote:
> reg_check_chans_work() holds rtnl_mutex for the entire duration of
> iterating over all registered devices and calling cfg80211_leave() on
> each invalid wdev. cfg80211_leave() can be slow (disconnect, stop AP,
> leave mesh), causing rtnl_mutex starvation when many wireless interfaces
> are present. This results in tasks waiting for rtnl_mutex for longer
> than hung_task_timeout_secs:
>
> INFO: task hung in inet_rtm_newaddr
> INFO: task hung in inet6_rtm_newaddr
> INFO: task hung in nsim_destroy
> INFO: task hung in tun_chr_close
> INFO: task hung in switchdev_deferred_process_work
Hello Omer,
Considering that maybe something has mis-diagnosed the problem, could you share details of the stack traces of
the hung processes and lockdep output to see if the hang is actually elsewhere? What kernel version are you
testing?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2026-09-07 16:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 11:13 [PATCH] wifi: cfg80211: avoid holding rtnl_mutex across all cfg80211_leave() calls Ömer Mete Kaya
2026-09-03 15:13 ` Ömer Mete Kaya
2026-09-03 15:13 ` [PATCH v2] " Ömer Mete Kaya
2026-09-05 18:45 ` Simon Horman
2026-09-06 0:25 ` Ömer Mete Kaya
2026-09-06 0:25 ` [PATCH] " Ömer Mete Kaya
2026-09-06 11:57 ` Johannes Berg
2026-09-07 16:38 ` Ben Greear [this message]
2026-09-08 8:58 ` Ömer Mete Kaya
2026-09-08 16:50 ` Ben Greear
2026-09-08 19:52 ` Ömer Mete Kaya
2026-09-08 20:09 ` Ben Greear
2026-09-08 22:32 ` Ömer Mete Kaya
2026-09-08 23:40 ` Ben Greear
2026-09-09 17:54 ` Ömer Mete Kaya
2026-09-09 15:26 ` netdev-bot+sashiko
-- strict thread matches above, loose matches on Subject: below --
2026-09-03 15:05 Ömer Mete Kaya
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=81a437a9-4ffd-4d6d-84c9-c093af5c46a5@candelatech.com \
--to=greearb@candelatech.com \
--cc=linux-wireless@vger.kernel.org \
--cc=omermetekaya0@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.