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>
Loading
Please sign in to comment