[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240410-wilc_srcu_to_rcu-v1-0-a9ff5b10feaa@bootlin.com>
Date: Wed, 10 Apr 2024 09:10:32 +0200
From: Alexis Lothoré <alexis.lothore@...tlin.com>
To: Ajay Singh <ajay.kathat@...rochip.com>,
Claudiu Beznea <claudiu.beznea@...on.dev>, Kalle Valo <kvalo@...nel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexis Lothoré <alexis.lothore@...tlin.com>
Subject: [PATCH 0/2] wifi: wilc1000: use RCU instead of SRCU
This small series is a follow-up to [1] which fixed pending SRCU warnings
in wilc1000 driver, and raised the question of why SRCU was used in the
first place and if it is really needed. Since no technical answer has been
provided in favor of keeping SRCU, switch back the driver to classical RCU to
simplify RCU usage.
[1] https://lore.kernel.org/linux-wireless/20240215-wilc_fix_rcu_usage-v1-0-f610e46c6f82@bootlin.com/
Signed-off-by: Alexis Lothoré <alexis.lothore@...tlin.com>
---
Alexis Lothoré (2):
wifi: wilc1000: set atomic flag on kmemdup in srcu critical section
wifi: wilc1000: convert list management to RCU
drivers/net/wireless/microchip/wilc1000/cfg80211.c | 41 +++++++++------------
drivers/net/wireless/microchip/wilc1000/hif.c | 17 ++++-----
drivers/net/wireless/microchip/wilc1000/netdev.c | 43 +++++++++-------------
drivers/net/wireless/microchip/wilc1000/netdev.h | 5 +--
drivers/net/wireless/microchip/wilc1000/wlan.c | 5 +--
5 files changed, 46 insertions(+), 65 deletions(-)
---
base-commit: bd53dcabb6d8211d5e2994d7acd000d203e1e031
change-id: 20240222-wilc_srcu_to_rcu-0163d53a2dd3
Best regards,
--
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists