Re: [PATCH v4] fs/epoll: Enable non-blocking busypoll when epoll timeout is 0

2020-07-11 Thread Alexander Duyck
On Fri, Jul 10, 2020 at 11:13 PM Sridhar Samudrala wrote: > > This patch triggers non-blocking busy poll when busy_poll is enabled, > 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

[PATCH v4] fs/epoll: Enable non-blocking busypoll when epoll timeout is 0

2020-07-10 Thread Sridhar Samudrala
This patch triggers non-blocking busy poll when busy_poll is enabled, 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. S