inet: frags: use kmem_cache for inet_frag_queue
Use kmem_cache to allocate/free inet_frag_queue objects since they're all the same size per inet_frags user and are alloced/freed in high volumes thus making it a perfect case for kmem_cache. Signed-off-by:Nikolay Aleksandrov <nikolay@redhat.com> Acked-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/inet_frag.h 3 additions, 1 deletioninclude/net/inet_frag.h
- net/ieee802154/reassembly.c 6 additions, 1 deletionnet/ieee802154/reassembly.c
- net/ipv4/inet_fragment.c 10 additions, 3 deletionsnet/ipv4/inet_fragment.c
- net/ipv4/ip_fragment.c 4 additions, 1 deletionnet/ipv4/ip_fragment.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 6 additions, 2 deletionsnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 6 additions, 1 deletionnet/ipv6/reassembly.c
Loading
Please register or sign in to comment