kernel-ark/net/ipv4/netfilter
Eric Dumazet 3183606469 [NETFILTER] ip_tables: NUMA-aware allocation
Part of a performance problem with ip_tables is that memory allocation
is not NUMA aware, but 'only' SMP aware (ie each CPU normally touch
separate cache lines)

Even with small iptables rules, the cost of this misplacement can be
high on common workloads.  Instead of using one vmalloc() area
(located in the node of the iptables process), we now allocate an area
for each possible CPU, using vmalloc_node() so that memory should be
allocated in the CPU's node if possible.

Port to arp_tables and ip6_tables by Harald Welte.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-01-03 13:10:29 -08:00
..
arp_tables.c [NETFILTER] ip_tables: NUMA-aware allocation 2006-01-03 13:10:29 -08:00
arpt_mangle.c
arptable_filter.c
ip_conntrack_amanda.c [NET]: Add const markers to various variables. 2005-11-29 16:21:38 -08:00
ip_conntrack_core.c [NETFILTER]: Fix ip_conntrack_flush abuse in ctnetlink 2005-12-05 13:33:50 -08:00
ip_conntrack_ftp.c [NET]: Add const markers to various variables. 2005-11-29 16:21:38 -08:00
ip_conntrack_helper_pptp.c
ip_conntrack_irc.c [NET]: Add const markers to various variables. 2005-11-29 16:21:38 -08:00
ip_conntrack_netbios_ns.c
ip_conntrack_netlink.c [NETFILTER]: Don't use conntrack entry after dropping the reference 2005-12-05 13:38:16 -08:00
ip_conntrack_proto_generic.c
ip_conntrack_proto_gre.c
ip_conntrack_proto_icmp.c [NET]: Add const markers to various variables. 2005-11-29 16:21:38 -08:00
ip_conntrack_proto_sctp.c [NET]: Add const markers to various variables. 2005-11-29 16:21:38 -08:00
ip_conntrack_proto_tcp.c [NETFILTER]: Fix unbalanced read_unlock_bh in ctnetlink 2005-12-05 13:37:33 -08:00
ip_conntrack_proto_udp.c
ip_conntrack_standalone.c
ip_conntrack_tftp.c [NETFILTER] ip_conntrack: fix ftp/irc/tftp helpers on ports >= 32768 2005-11-17 15:06:47 -08:00
ip_nat_amanda.c
ip_nat_core.c [NETFILTER] ipv4: small cleanups 2005-11-29 16:28:18 -08:00
ip_nat_ftp.c
ip_nat_helper_pptp.c
ip_nat_helper.c
ip_nat_irc.c
ip_nat_proto_gre.c
ip_nat_proto_icmp.c
ip_nat_proto_tcp.c
ip_nat_proto_udp.c
ip_nat_proto_unknown.c
ip_nat_rule.c
ip_nat_snmp_basic.c
ip_nat_standalone.c
ip_nat_tftp.c [NETFILTER]: ip_nat_tftp: Fix expectation NAT 2005-12-12 15:02:48 -08:00
ip_queue.c
ip_tables.c [NETFILTER] ip_tables: NUMA-aware allocation 2006-01-03 13:10:29 -08:00
ipt_addrtype.c
ipt_ah.c
ipt_CLASSIFY.c
ipt_CLUSTERIP.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_comment.c
ipt_connbytes.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_connmark.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_CONNMARK.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_conntrack.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_dccp.c
ipt_dscp.c
ipt_DSCP.c
ipt_ecn.c
ipt_ECN.c
ipt_esp.c
ipt_hashlimit.c
ipt_helper.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_iprange.c
ipt_length.c
ipt_limit.c
ipt_LOG.c [NETFILTER] ipv4: small cleanups 2005-11-29 16:28:18 -08:00
ipt_mac.c
ipt_mark.c
ipt_MARK.c
ipt_MASQUERADE.c
ipt_multiport.c
ipt_NETMAP.c
ipt_NFQUEUE.c
ipt_NOTRACK.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_owner.c
ipt_physdev.c
ipt_pkttype.c
ipt_realm.c
ipt_recent.c [NETFILTER]: Fix recent match jiffies wrap mismatches 2005-12-01 14:29:24 -08:00
ipt_REDIRECT.c
ipt_REJECT.c
ipt_SAME.c
ipt_sctp.c
ipt_state.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
ipt_string.c
ipt_tcpmss.c
ipt_TCPMSS.c
ipt_tos.c
ipt_TOS.c
ipt_ttl.c
ipt_TTL.c
ipt_ULOG.c
iptable_filter.c
iptable_mangle.c
iptable_raw.c
Kconfig [NETFILTER]: Mark ctnetlink as EXPERIMENTAL 2005-12-05 13:36:25 -08:00
Makefile [NETFILTER]: Fix NAT init order 2005-12-19 13:53:09 -08:00
nf_conntrack_l3proto_ipv4.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00
nf_conntrack_proto_icmp.c [NETFILTER]: Add nf_conntrack subsystem. 2005-11-09 16:38:16 -08:00