Re: [PATCH net-next v6 1/4] eventpoll: support busy poll per epoll instance
From: Joe Damato <hidden>
Date: 2024-02-07 19:14:12
Also in:
linux-api, linux-fsdevel, lkml
From: Joe Damato <hidden>
Date: 2024-02-07 19:14:12
Also in:
linux-api, linux-fsdevel, lkml
On Wed, Feb 07, 2024 at 11:04:13AM -0800, Jakub Kicinski wrote:
On Mon, 5 Feb 2024 21:04:46 +0000 Joe Damato wrote:quoted
Allow busy polling on a per-epoll context basis. The per-epoll context usec timeout value is preferred, but the pre-existing system wide sysctl value is still supported if it specified.Why do we need u64 for usecs? I think u16 would do, and u32 would give a very solid "engineering margin". If it was discussed in previous versions I think it's worth explaining in the commit message.
In patch 4/4 the value is limited to U32_MAX, but if you prefer I use a u32 here instead, I can make that change.