summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMatteo Croce <mcroce@microsoft.com>2021-06-09 16:47:14 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-10 01:26:50 +0300
commit2f128eb3308a74ef478286b75e26aa6d0ed3c6a6 (patch)
tree6b26ad5be0c9f6b5014edeeaedcd08e7f19cf7e8 /tools/perf/scripts/python/syscall-counts.py
parentd8ea89fe8a49bfa18b009b16b66c137dba263f87 (diff)
downloadlinux-2f128eb3308a74ef478286b75e26aa6d0ed3c6a6.tar.xz
mvpp2: prefetch page
Most of the time during the RX is caused by the compound_head() call done at the end of the RX loop: │ build_skb(): [...] │ static inline struct page *compound_head(struct page *page) │ { │ unsigned long head = READ_ONCE(page->compound_head); 65.23 │ ldr x2, [x1, #8] Prefetch the page struct as soon as possible, to speedup the RX path noticeabily by a ~3-4% packet rate in a drop test. │ build_skb(): [...] │ static inline struct page *compound_head(struct page *page) │ { │ unsigned long head = READ_ONCE(page->compound_head); 17.92 │ ldr x2, [x1, #8] Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions