diff options
author | Arjun Roy <[email protected]> | 2020-12-02 14:53:46 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-04 13:40:53 -0800 |
commit | 936ced415751f744654f64977ddbf67d17a2a45a (patch) | |
tree | 77b7b5c2672a902ad70db1dfae9fe10f4922657f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 98917cf0d6eda01e8c3c34d35398d46b247b6fd3 (diff) |
net-zerocopy: Fast return if inq < PAGE_SIZE
Sometimes, we may call tcp receive zerocopy when inq is 0,
or inq < PAGE_SIZE, in which case we cannot remap pages. In this case,
simply return the appropriate hint for regular copying without taking
mmap_sem.
Signed-off-by: Arjun Roy <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Soheil Hassas Yeganeh <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions