aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-05-15 21:24:56 -0700
committerDavid S. Miller <[email protected]>2022-05-16 11:33:59 +0100
commit909876500251b3b48480a840bbf9053588254eee (patch)
treed5be1a42e32e55e228aeee48bc252b5fa2db4d8b /tools/perf/scripts/python/event_analyzing_sample.py
parent39564c3fdc6684c6726b63e131d2a9f3809811cb (diff)
net: call skb_defer_free_flush() before each napi_poll()
skb_defer_free_flush() can consume cpu cycles, it seems better to call it in the inner loop: - Potentially frees page/skb that will be reallocated while hot. - Account for the cpu cycles in the @time_limit determination. - Keep softnet_data.defer_count small to reduce chances for skb_attempt_defer_free() to send an IPI. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions