https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280546

--- Comment #31 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=cd0fcf9f12114df542d4b080202abb1fe5f1aec8

commit cd0fcf9f12114df542d4b080202abb1fe5f1aec8
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-04-08 18:41:45 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-04-11 21:26:05 +0000

    LinuxKPI: 802.11: switch to wiphy_lock

    Replace the LKPI_80211_LHW_LOCK (lhw->sx) with the wiphy lock (which
    is a Linux mutex, so also an sx lock).  Apart from two places the
    change was mostly mechanically.
    Further remove the now recursive lock acquisitions.

    This lays the ground for us to use more Linux(KPI) 802.11 internal
    locking as well as more rcu equivalents, e.g., for the chanctx,
    and live better to the synchronisation expectations of the drivers.
    [I wish there would be more assertions in the drivers themselves,
    especially in the mac80211 ops and the iteration callbacks.]

    Sponsored by:   The FreeBSD Foundation
    PR:             280546
    MFC after:      3 days
    Tested by:      Oleksandr Kryvulia (shuriku shurik.kiev.ua)
    Tested by:      Oleg Nauman (oleg.nauman gmail.com) [rtw88]
    Differential Revision: https://reviews.freebsd.org/D49734

 sys/compat/linuxkpi/common/src/linux_80211.c | 122 ++++++++++++---------------
 sys/compat/linuxkpi/common/src/linux_80211.h |  15 ----
 2 files changed, 56 insertions(+), 81 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to