lkml.org 
[lkml]   [2024]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] wifi: wilc1000: use RCU instead of SRCU
Date
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,
--
Alexis Lothoré, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


\
 
 \ /
  Last update: 2024-05-27 16:32    [W:0.027 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site