b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2 0/9] RCU locking patches
@ 2010-09-17 15:40 Sven Eckelmann
  2010-09-17 15:40 ` [B.A.T.M.A.N.] [PATCH 1/9] batman-adv: Introduce if_list_lock to protect if_list Sven Eckelmann
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Sven Eckelmann @ 2010-09-17 15:40 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

[1] 201009170317.28338.sven.eckelmann@gmx.de

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(-)

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-09-18 15:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-17 15:40 [B.A.T.M.A.N.] [PATCHv2 0/9] RCU locking patches Sven Eckelmann
2010-09-17 15:40 ` [B.A.T.M.A.N.] [PATCH 1/9] batman-adv: Introduce if_list_lock to protect if_list Sven Eckelmann
2010-09-17 15:40 ` [B.A.T.M.A.N.] [PATCH 2/9] batman-adv: Protect update side of gw_list Sven Eckelmann
2010-09-17 15:40 ` [B.A.T.M.A.N.] [PATCH 3/9] batman-adv: Always protect list_for_each_entry_rcu with RCU Sven Eckelmann
2010-09-17 15:41 ` [B.A.T.M.A.N.] [PATCH 4/9] batman-adv: Remove unneeded rcu_read_lock Sven Eckelmann
2010-09-17 15:41 ` [B.A.T.M.A.N.] [PATCH 5/9] batman-adv: Use synchronize_rcu instead of call_rcu Sven Eckelmann
2010-09-17 15:41 ` [B.A.T.M.A.N.] [PATCH 6/9] batman-adv: Use refcnt to track usage count of gw_node Sven Eckelmann
2010-09-17 15:41 ` [B.A.T.M.A.N.] [PATCH 7/9] batman-adv: Use refcnt to track usage count of batman_if Sven Eckelmann
2010-09-17 15:41 ` [B.A.T.M.A.N.] [PATCH 8/9] batman-adv: count election of gateway as reference Sven Eckelmann
2010-09-17 15:41 ` [B.A.T.M.A.N.] [PATCH 9/9] batman-adv: count batman_if list queries " Sven Eckelmann
2010-09-17 17:27   ` [B.A.T.M.A.N.] [PATCHv2 " Sven Eckelmann
2010-09-18 14:42     ` Marek Lindner
2010-09-18 14:42       ` [B.A.T.M.A.N.] [PATCH] " Marek Lindner
2010-09-18 15:21       ` [B.A.T.M.A.N.] [PATCHv2 9/9] " Sven Eckelmann
2010-09-18 15:23         ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: Track references of batman_if in set_primary_if Sven Eckelmann
2010-09-18 15:23         ` [B.A.T.M.A.N.] [PATCH 2/2] Introduce update_primary_addr to update mac address Sven Eckelmann
2010-09-18 15:41         ` [B.A.T.M.A.N.] [PATCHv2 9/9] batman-adv: count batman_if list queries as reference Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).