Re: [RFC PATCH for-next 4/4] epoll: epoll() syscall definition

2014-02-25 Thread Nathaniel Yazdani
On Tue, 2014-02-25 at 10:21 +, Eric Wong wrote: > Nathaniel Yazdani wrote: > > + * stores triggered eventpoll entries in the 'out' array. The input array > > is > > + * _not_ read-only, because the resulting event mask gets written back to > > each > > + * entry's ->ep_events field. When

Re: [RFC PATCH for-next 4/4] epoll: epoll() syscall definition

2014-02-25 Thread Eric Wong
Nathaniel Yazdani wrote: > + * stores triggered eventpoll entries in the 'out' array. The input array is > + * _not_ read-only, because the resulting event mask gets written back to > each > + * entry's ->ep_events field. When successful, this will be the same as > before > + * (plus EPOLLERR &

Re: [RFC PATCH for-next 4/4] epoll: epoll() syscall definition

2014-02-25 Thread Eric Wong
Nathaniel Yazdani n1ght.4nd@gmail.com wrote: + * stores triggered eventpoll entries in the 'out' array. The input array is + * _not_ read-only, because the resulting event mask gets written back to each + * entry's -ep_events field. When successful, this will be the same as before + *

Re: [RFC PATCH for-next 4/4] epoll: epoll() syscall definition

2014-02-25 Thread Nathaniel Yazdani
On Tue, 2014-02-25 at 10:21 +, Eric Wong wrote: Nathaniel Yazdani n1ght.4nd@gmail.com wrote: + * stores triggered eventpoll entries in the 'out' array. The input array is + * _not_ read-only, because the resulting event mask gets written back to each + * entry's -ep_events

[RFC PATCH for-next 4/4] epoll: epoll() syscall definition

2014-02-23 Thread Nathaniel Yazdani
This new system call combines eventpoll entry addition, modification, deletion, and retrieval into a single call, much like the BSDs' kevent(). Eventpoll entries are described using struct epoll, whose definition and implementation can be found in prior patches. Its operation is fairly

[RFC PATCH for-next 4/4] epoll: epoll() syscall definition

2014-02-23 Thread Nathaniel Yazdani
This new system call combines eventpoll entry addition, modification, deletion, and retrieval into a single call, much like the BSDs' kevent(). Eventpoll entries are described using struct epoll, whose definition and implementation can be found in prior patches. Its operation is fairly