summaryrefslogtreecommitdiff
path: root/include/net/atmclip.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-08-17 21:57:30 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 23:01:54 (GMT)
commitd179cd12928443f3ec29cfbc3567439644bd0afc (patch)
tree0bfc57e73f0bf9f7bb9d5c8ce7d3d5afe550f94e /include/net/atmclip.h
parente92ae93a8aa66aea12935420cb22d4df1c18d023 (diff)
downloadlinux-fsl-qoriq-d179cd12928443f3ec29cfbc3567439644bd0afc.tar.xz
[NET]: Implement SKB fast cloning.
Protocols that make extensive use of SKB cloning, for example TCP, eat at least 2 allocations per packet sent as a result. To cut the kmalloc() count in half, we implement a pre-allocation scheme wherein we allocate 2 sk_buff objects in advance, then use a simple reference count to free up the memory at the correct time. Based upon an initial patch by Thomas Graf and suggestions from Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/atmclip.h')
0 files changed, 0 insertions, 0 deletions