summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorJoe Damato <jdamato@fastly.com>2024-02-13 09:16:44 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-14 14:01:00 +0300
commitde57a251082211b68e8c01e0e8210a23c022ac57 (patch)
treeec5e07f692cde151592ad63ea6c2b1b85e666fd0 /Documentation/userspace-api
parentc6aa2a7778d8e3ba7c6f84c8095f0b89f0617830 (diff)
downloadlinux-de57a251082211b68e8c01e0e8210a23c022ac57.tar.xz
eventpoll: Add per-epoll prefer busy poll option
When using epoll-based busy poll, the prefer_busy_poll option is hardcoded to false. Users may want to enable prefer_busy_poll to be used in conjunction with gro_flush_timeout and defer_hard_irqs_count to keep device IRQs masked. Other busy poll methods allow enabling or disabling prefer busy poll via SO_PREFER_BUSY_POLL, but epoll-based busy polling uses a hardcoded value. Fix this edge case by adding support for a per-epoll context prefer_busy_poll option. The default is false, as it was hardcoded before this change. Signed-off-by: Joe Damato <jdamato@fastly.com> Acked-by: Stanislav Fomichev <sdf@google.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions