Re: [PATCH] epoll: restrict EPOLLEXCLUSIVE to POLLIN and POLLOUT

2016-02-05 Thread Madars Vitolins
Andrew Morton @ 2016-02-05 00:59 rakstīja: On Thu, 04 Feb 2016 23:44:05 +0200 Madars Vitolins wrote: Hi Jason, Just run off the original tests with this patch (eventpoll.c from 4.5-rc2 + patch bellow). Got the same good results, no regression. $ time ./bankcl Account balance is: 1359856158

Re: [PATCH] epoll: restrict EPOLLEXCLUSIVE to POLLIN and POLLOUT

2016-02-04 Thread Andrew Morton
On Thu, 04 Feb 2016 23:44:05 +0200 Madars Vitolins wrote: > Hi Jason, > > > Just run off the original tests with this patch (eventpoll.c from > 4.5-rc2 + patch bellow). Got the same good results, no regression. > > $ time ./bankcl > Account balance is: 1359856158.04 USD > Account balance is:

Re: [PATCH] epoll: restrict EPOLLEXCLUSIVE to POLLIN and POLLOUT

2016-02-04 Thread Madars Vitolins
Hi Jason, Just run off the original tests with this patch (eventpoll.c from 4.5-rc2 + patch bellow). Got the same good results, no regression. $ time ./bankcl Account balance is: 1359856158.04 USD Account balance is: 1359856158.04 USD Account balance is: 1359856158.04 USD Account balance is:

[PATCH] epoll: restrict EPOLLEXCLUSIVE to POLLIN and POLLOUT

2016-02-04 Thread Jason Baron
In the current implementation of the EPOLLEXCLUSIVE flag (added for 4.5-rc1), if epoll waiters create different POLL* sets and register them as exclusive against the same target fd, the current implementation will stop waking any further waiters once it finds the first idle waiter. This means that