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)
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>

No differences found