kernel_optimize_test/include/net/netns
Fan Du 283bc9f35b xfrm: Namespacify xfrm state/policy locks
By semantics, xfrm layer is fully name space aware,
so will the locks, e.g. xfrm_state/pocliy_lock.
Ensure exclusive access into state/policy link list
for different name space with one global lock is not
right in terms of semantics aspect at first place,
as they are indeed mutually independent with each
other, but also more seriously causes scalability
problem.

One practical scenario is on a Open Network Stack,
more than hundreds of lxc tenants acts as routers
within one host, a global xfrm_state/policy_lock
becomes the bottleneck. But onces those locks are
decoupled in a per-namespace fashion, locks contend
is just with in specific name space scope, without
causing additional SPD/SAD access delay for other
name space.

Also this patch improve scalability while as without
changing original xfrm behavior.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
2013-12-06 06:45:06 +01:00
..
conntrack.h
core.h
dccp.h
generic.h
hash.h
ipv4.h tcp_memcontrol: Remove the per netns control. 2013-10-21 18:43:02 -04:00
ipv6.h net: split rt_genid for ipv4 and ipv6 2013-07-31 14:56:36 -07:00
mib.h
netfilter.h
nftables.h netfilter: nf_tables: add ARP filtering support 2013-10-14 18:01:03 +02:00
packet.h
sctp.h Revert "net: sctp: convert sctp_checksum_disable module param into sctp sysctl" 2013-08-09 13:09:41 -07:00
unix.h
x_tables.h netfilter: {ipt,ebt}_ULOG: rise warning on deprecation 2013-05-23 14:23:16 +02:00
xfrm.h xfrm: Namespacify xfrm state/policy locks 2013-12-06 06:45:06 +01:00