mbox series

[0/2] wifi: wilc1000: use RCU instead of SRCU

Message ID 20240410-wilc_srcu_to_rcu-v1-0-a9ff5b10feaa@bootlin.com
Headers show
Series wifi: wilc1000: use RCU instead of SRCU | expand

Message

Alexis Lothoré April 10, 2024, 7:10 a.m. UTC
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@bootlin.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,