diff options
| author | Eric Dumazet <[email protected]> | 2013-10-17 16:27:07 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-18 00:08:51 -0400 |
| commit | 400dfd3ae899849b27d398ca7894e1b44430887f (patch) | |
| tree | 5478cafc2fd175ea7f2307e4eda1f6a9a8618733 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | baf785bacc9f840104fc2dfedd2b72b5cbb4e103 (diff) | |
net: refactor sk_page_frag_refill()
While working on virtio_net new allocation strategy to increase
payload/truesize ratio, we found that refactoring sk_page_frag_refill()
was needed.
This patch splits sk_page_frag_refill() into two parts, adding
skb_page_frag_refill() which can be used without a socket.
While we are at it, add a minimum frag size of 32 for
sk_page_frag_refill()
Michael will either use netdev_alloc_frag() from softirq context,
or skb_page_frag_refill() from process context in refill_work()
(GFP_KERNEL allocations)
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Michael Dalton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions