summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-04-27 14:42:18 -0600
committerJens Axboe <axboe@kernel.dk>2026-04-28 16:09:02 -0600
commitdf8599ee18c0e5fe343ffe0b4c379636b8bb839a (patch)
tree4d55ed7ab1953e7bdc098c166e38d627e22a29c2 /scripts/dummy-tools/python3
parent7deba791ad495ce1d7921683f4f7d1190fa210d1 (diff)
io_uring/napi: cap busy_poll_to 10 msec
Currently there's no cap on the maximum amount of time that napi is allowed to poll if no events are found, which can lead to kernel complaints on a task being stuck as there's no conditional rescheduling done within that loop. Just cap it to 10 msec in total, that's already way above any kind of sane value that will reap any benefits, yet low enough that it's nowhere near being able to trigger preemption complaints. Fixes: 8d0c12a80cde ("io-uring: add napi busy poll support") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions