]> www.infradead.org Git - users/dwmw2/linux.git/commit
eventpoll: Trigger napi_busy_loop, if prefer_busy_poll is set
authorMartin Karsten <mkarsten@uwaterloo.ca>
Sat, 9 Nov 2024 05:02:33 +0000 (05:02 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Nov 2024 02:45:06 +0000 (18:45 -0800)
commitab5b28b007a7ab3edeb0a5e1d04669945ddb1d37
tree8ab6663e36a8387cbff4c2cb466d36711fbd227d
parent3fcbecbdeb048dfd1bea824f4276717fed02d10e
eventpoll: Trigger napi_busy_loop, if prefer_busy_poll is set

Setting prefer_busy_poll now leads to an effectively nonblocking
iteration though napi_busy_loop, even when busy_poll_usecs is 0.

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-4-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
fs/eventpoll.c