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

2020-07-06 Thread Alexander Duyck
On Mon, Jul 6, 2020 at 3:33 PM Samudrala, Sridhar wrote: > > > > On 7/6/2020 1:36 PM, Alexander Duyck wrote: > > On Wed, Jun 24, 2020 at 4:03 PM Sridhar Samudrala > > wrote: > >> > >> This patch triggers non-blocking busy poll when busy_poll is enabled, > >> epoll is called with a timeout of 0 an

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

2020-07-06 Thread Samudrala, Sridhar
On 7/6/2020 1:36 PM, Alexander Duyck wrote: On Wed, Jun 24, 2020 at 4:03 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

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

2020-07-06 Thread Alexander Duyck
On Wed, Jun 24, 2020 at 4:03 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 t

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

2020-07-06 Thread Samudrala, Sridhar
Resending. Dave, Eric, Can we get this in via net-next as this is targeted for networking use case using epoll/busypoll. Thanks Sridhar On 6/24/2020 12:30 PM, Sridhar Samudrala wrote: This patch triggers non-blocking busy poll when busy_poll is enabled, epoll is called with a timeout of 0 a

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

2020-06-24 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