Searched hist:e02d494d (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/l2tp/ |
H A D | l2tp_core.c | e02d494d Fri Apr 02 01:19:16 CDT 2010 James Chapman <jchapman@katalix.com> l2tp: Convert rwlock to RCU
Reader/write locks are discouraged because they are slower than spin locks. So this patch converts the rwlocks used in the per_net structs to rcu.
Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net> e02d494d Fri Apr 02 01:19:16 CDT 2010 James Chapman <jchapman@katalix.com> l2tp: Convert rwlock to RCU Reader/write locks are discouraged because they are slower than spin locks. So this patch converts the rwlocks used in the per_net structs to rcu. Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|