Re: [PATCH] fs/epoll: Enable non-blocking busypoll with epoll timeout of 0

2020-06-24 Thread Samudrala, Sridhar
On 6/24/2020 9:49 AM, Eric Dumazet wrote: On 6/24/20 9:32 AM, Samudrala, Sridhar wrote: Adding Dave, Eric for review and see if we can get this in via net-next as this is mainly useful for networking workloads doing busypoll. Thanks Sridhar On 6/19/2020 11:13 AM, Sridhar Samudrala wrote:

Re: [PATCH] fs/epoll: Enable non-blocking busypoll with epoll timeout of 0

2020-06-24 Thread Eric Dumazet
On 6/24/20 9:32 AM, Samudrala, Sridhar wrote: > Adding Dave, Eric for review and see if we can get this in via net-next > as this is mainly useful for networking workloads doing busypoll. > > Thanks > Sridhar > > On 6/19/2020 11:13 AM, Sridhar Samudrala wrote: >> This patch triggers non-blocki

Re: [PATCH] fs/epoll: Enable non-blocking busypoll with epoll timeout of 0

2020-06-24 Thread Samudrala, Sridhar
Adding Dave, Eric for review and see if we can get this in via net-next as this is mainly useful for networking workloads doing busypoll. Thanks Sridhar On 6/19/2020 11:13 AM, Sridhar Samudrala wrote: This patch triggers non-blocking busy poll when busy_poll is enabled and epoll is called with

[PATCH] fs/epoll: Enable non-blocking busypoll with epoll timeout of 0

2020-06-19 Thread Sridhar Samudrala
This patch triggers non-blocking busy poll when busy_poll is enabled and epoll is called with a timeout of 0 and is associated with a napi_id. This enables an app thread to go through napi poll routine once by calling epoll with a 0 timeout. poll/select with a 0 timeout behave in a similar manner.