RCU locking patches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 3 repliesIn review
- v14 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | batman-adv: Introduce if_list_lock to protect if_listbatman-adv/ | +15 | 0 replies | |
| 2/9 | batman-adv: Protect update side of gw_listbatman-adv/ | +9 | 0 replies | |
| 3/9 | batman-adv: Always protect list_for_each_entry_rcu with RCUbatman-adv/ | +2 | 0 replies | |
| 4/9 | batman-adv: Remove unneeded rcu_read_lockbatman-adv/ batman-adv/ | +0 | 0 replies | |
| 5/9 | batman-adv: Use synchronize_rcu instead of call_rcubatman-adv/ batman-adv/ batman-adv/ | +6 | 0 replies | |
| 6/9 | batman-adv: Use refcnt to track usage count of gw_nodebatman-adv/ batman-adv/ | +16 | 0 replies | |
| 7/9 | batman-adv: Use refcnt to track usage count of batman_ifbatman-adv/ batman-adv/ batman-adv/ | +17 | 0 replies | |
| 8/9 | batman-adv: count election of gateway as referencebatman-adv/ | +19 | 0 replies | |
| 9/9 | batman-adv: count batman_if list queries as referencebatman-adv/ batman-adv/ | +51 | 0 replies | |
| 9/9 | batman-adv: count batman_if list queries as referencebatman-adv/ batman-adv/ | +56 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [B.A.T.M.A.N.] [PATCHv2 0/9] RCU locking patches
Hi,
i tried to prevent the race condition [1] that I mentioned yesterday. The patchset was also slightly extended to use a refcnt a little bit more.
Best regards,
Sven
Sven Eckelmann (9):
batman-adv: Introduce if_list_lock to protect if_list
batman-adv: Protect update side of gw_list
batman-adv: Always protect list_for_each_entry_rcu with RCU
batman-adv: Remove unneeded rcu_read_lock
batman-adv: Use synchronize_rcu instead of call_rcu
batman-adv: Use refcnt to track usage count of gw_node
batman-adv: Use refcnt to track usage count of batman_if
batman-adv: count election of gateway as reference
batman-adv: count batman_if list queries as reference
batman-adv/bat_sysfs.c | 37 ++++++++++++++++++------- batman-adv/gateway_client.c | 64 ++++++++++++++++++++++++++++++------------- batman-adv/hard-interface.c | 59 +++++++++++++++++++++++++++++----------- batman-adv/hard-interface.h | 13 +++++++++ batman-adv/originator.c | 2 - batman-adv/routing.c | 2 + batman-adv/types.h | 4 +- 7 files changed, 132 insertions(+), 49 deletions(-)