Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-05 Thread Fam Zheng
On Thu, 02/05 08:44, Michael Kerrisk (man-pages) wrote: > Hello Fam Zheng, > > On 02/05/2015 02:52 AM, Fam Zheng wrote: > > On Wed, 02/04 13:44, Michael Kerrisk (man-pages) wrote: > >> Hello Fam Zheng, > >> > >> On 02/04/2015 11:36 AM, Fam Zheng wrote: > >>> Changes from v1 (https://lkml.org/lkml/

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Michael Kerrisk (man-pages)
Hello Fam Zheng, On 02/05/2015 02:52 AM, Fam Zheng wrote: > On Wed, 02/04 13:44, Michael Kerrisk (man-pages) wrote: >> Hello Fam Zheng, >> >> On 02/04/2015 11:36 AM, Fam Zheng wrote: >>> Changes from v1 (https://lkml.org/lkml/2015/1/20/189): >>> >>> - As discussed in previous thread [1], split t

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Fam Zheng
On Wed, 02/04 13:44, Michael Kerrisk (man-pages) wrote: > Hello Fam Zheng, > > On 02/04/2015 11:36 AM, Fam Zheng wrote: > > Changes from v1 (https://lkml.org/lkml/2015/1/20/189): > > > > - As discussed in previous thread [1], split the call to epoll_ctl_batch > > and > > epoll_pwait. [Mich

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Fam Zheng
On Wed, 02/04 13:38, Andy Lutomirski wrote: > On Wed, Feb 4, 2015 at 2:36 AM, Fam Zheng wrote: > > 2) epoll_pwait1 > > --- > > > > NAME > >epoll_pwait1 - wait for an I/O event on an epoll file descriptor > > > > SYNOPSIS > > > >#include > > > >int epoll_pwait1(

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Andy Lutomirski
On Wed, Feb 4, 2015 at 2:36 AM, Fam Zheng wrote: > 2) epoll_pwait1 > --- > > NAME >epoll_pwait1 - wait for an I/O event on an epoll file descriptor > > SYNOPSIS > >#include > >int epoll_pwait1(int epfd, int flags, > struct epoll_event *e

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Michael Kerrisk (man-pages)
Hello Fam Zheng, On 02/04/2015 11:36 AM, Fam Zheng wrote: > Changes from v1 (https://lkml.org/lkml/2015/1/20/189): > > - As discussed in previous thread [1], split the call to epoll_ctl_batch and > epoll_pwait. [Michael] > > - Fix memory leaks. [Omar] > > - Add a short comment about t

Re: [PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Fam Zheng
On Wed, 02/04 18:36, Fam Zheng wrote: > >Not that this call isn't atomic in terms of updating the epoll s/Not/Note/ >descriptor, which means a second epoll_ctl or epoll_ctl_batch call >during the first epoll_ctl_batch may make the operation sequence >interleaved.

[PATCH RFC v2 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-04 Thread Fam Zheng
Changes from v1 (https://lkml.org/lkml/2015/1/20/189): - As discussed in previous thread [1], split the call to epoll_ctl_batch and epoll_pwait. [Michael] - Fix memory leaks. [Omar] - Add a short comment about the ignored copy_to_user failure. [Omar] - Cover letter rewritten. This