]> Git Repo - linux.git/commit
eventpoll: Control irq suspension for prefer_busy_poll
authorMartin Karsten <[email protected]>
Sat, 9 Nov 2024 05:02:34 +0000 (05:02 +0000)
committerJakub Kicinski <[email protected]>
Tue, 12 Nov 2024 02:45:06 +0000 (18:45 -0800)
commit8a6de2627fd37b76c6e8e77fa6c0fe82888e3fc3
treee899c8d3b19ffb8c74f011f07d9174a689a824a7
parentab5b28b007a7ab3edeb0a5e1d04669945ddb1d37
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 <[email protected]>
Co-developed-by: Joe Damato <[email protected]>
Signed-off-by: Joe Damato <[email protected]>
Tested-by: Joe Damato <[email protected]>
Tested-by: Martin Karsten <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Reviewed-by: Sridhar Samudrala <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
fs/eventpoll.c
This page took 0.049887 seconds and 4 git commands to generate.