diff options
author | 2024-11-09 05:02:34 +0000 | |
---|---|---|
committer | 2024-11-11 18:45:06 -0800 | |
commit | 8a6de2627fd37b76c6e8e77fa6c0fe82888e3fc3 (patch) | |
tree | e899c8d3b19ffb8c74f011f07d9174a689a824a7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | eventpoll: Trigger napi_busy_loop, if prefer_busy_poll is set (diff) | |
download | wireguard-linux-8a6de2627fd37b76c6e8e77fa6c0fe82888e3fc3.tar.xz wireguard-linux-8a6de2627fd37b76c6e8e77fa6c0fe82888e3fc3.zip |
eventpoll: Control irq suspension for prefer_busy_poll
When events are reported to userland and prefer_busy_poll is set, irqs
are temporarily suspended using napi_suspend_irqs.
If no events are found and ep_poll would go to sleep, irq suspension is
cancelled using napi_resume_irqs.
Signed-off-by: Martin Karsten <mkarsten@uwaterloo.ca>
Co-developed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Joe Damato <jdamato@fastly.com>
Tested-by: Joe Damato <jdamato@fastly.com>
Tested-by: Martin Karsten <mkarsten@uwaterloo.ca>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Link: https://patch.msgid.link/20241109050245.191288-5-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions