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>
Showing
- include/net/inet_frag.h 27 additions, 0 deletionsinclude/net/inet_frag.h
- include/net/ipv6.h 1 addition, 1 deletioninclude/net/ipv6.h
- net/ipv4/inet_fragment.c 12 additions, 13 deletionsnet/ipv4/inet_fragment.c
- net/ipv4/ip_fragment.c 11 additions, 13 deletionsnet/ipv4/ip_fragment.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 3 additions, 3 deletionsnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 3 additions, 3 deletionsnet/ipv6/reassembly.c
Loading
Please register or sign in to comment