diff options
author | David Howells <[email protected]> | 2023-05-22 13:11:12 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-05-23 20:48:27 -0700 |
commit | 2e910b95329c2dc7feffbec00907f9e02d1a850a (patch) | |
tree | af42d5f2e155380b765ced7b747eff2979aa78e4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 96449f90240713bd9bd653d6b15266a1044cfa7b (diff) |
net: Add a function to splice pages into an skbuff for MSG_SPLICE_PAGES
Add a function to handle MSG_SPLICE_PAGES being passed internally to
sendmsg(). Pages are spliced into the given socket buffer if possible and
copied in if not (e.g. they're slab pages or have a zero refcount).
Signed-off-by: David Howells <[email protected]>
cc: David Ahern <[email protected]>
cc: Al Viro <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Matthew Wilcox <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions