]> git.baikalelectronics.ru Git - kernel.git/commit
net: frag helper functions for mem limit tracking
authorJesper Dangaard Brouer <brouer@redhat.com>
Mon, 28 Jan 2013 23:45:12 +0000 (23:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2013 18:36:24 +0000 (13:36 -0500)
commitc1d348197ae9e3f72406bdd97763d663b9df1750
tree7d71bb8483724418e6a4f48cc4099a8722c704c8
parentdb5d5c06c94cd421a93bad4987f77d2b95c83250
net: frag helper functions for mem limit tracking

This change is primarily a preparation to ease the extension of memory
limit tracking.

The change does reduce the number atomic operation, during freeing of
a frag queue.  This does introduce a some performance improvement, as
these atomic operations are at the core of the performance problems
seen on NUMA systems.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
include/net/ipv6.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c