Files
erofs-linux/include/linux
David S. Miller d179cd1292 [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 <[email protected]>
2005-08-29 16:01:54 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-29 15:59:42 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-19 18:02:56 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-29 16:01:32 -07:00
…
…
2005-08-29 16:01:32 -07:00
…
…
…
2005-08-29 16:01:32 -07:00
…
2005-08-29 15:32:25 -07:00
…
2005-08-29 16:01:32 -07:00
…
2005-08-29 15:49:46 -07:00
…
…
…
…
…
…
…
…
…
…
2005-08-29 15:43:19 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-29 15:59:42 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-29 16:01:32 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 16:01:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-23 01:07:10 -04:00
…
…
…
…
2005-08-28 20:28:25 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2005-08-29 16:01:32 -07:00
…
…
…
…
…
…
…
2005-08-29 16:01:54 -07:00
…
…
…
…
…
…
2005-08-29 16:01:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…