Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-12 Thread Fam Zheng
On Mon, 01/12 02:08, Josh Triplett wrote: > On Mon, Jan 12, 2015 at 04:24:00PM +0800, Fam Zheng wrote: > > On Thu, 01/08 21:21, Josh Triplett wrote: > > > On Fri, Jan 09, 2015 at 12:49:08PM +0800, Fam Zheng wrote: > > > > On Thu, 01/08 18:24, Andy Lutomirski wrote: > > > > > On Thu, Jan 8, 2015 at

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-12 Thread Josh Triplett
On Mon, Jan 12, 2015 at 04:24:00PM +0800, Fam Zheng wrote: > On Thu, 01/08 21:21, Josh Triplett wrote: > > On Fri, Jan 09, 2015 at 12:49:08PM +0800, Fam Zheng wrote: > > > On Thu, 01/08 18:24, Andy Lutomirski wrote: > > > > On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng wrote: > > > > > On Thu, 01/08 1

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-12 Thread Fam Zheng
On Thu, 01/08 21:21, Josh Triplett wrote: > On Fri, Jan 09, 2015 at 12:49:08PM +0800, Fam Zheng wrote: > > On Thu, 01/08 18:24, Andy Lutomirski wrote: > > > On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng wrote: > > > > On Thu, 01/08 17:28, Andy Lutomirski wrote: > > > >> On Thu, Jan 8, 2015 at 5:25 PM,

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Josh Triplett
On Fri, Jan 09, 2015 at 12:49:08PM +0800, Fam Zheng wrote: > On Thu, 01/08 18:24, Andy Lutomirski wrote: > > On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng wrote: > > > On Thu, 01/08 17:28, Andy Lutomirski wrote: > > >> On Thu, Jan 8, 2015 at 5:25 PM, Fam Zheng wrote: > > >> > On Thu, 01/08 09:57, And

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Fam Zheng
On Thu, 01/08 18:24, Andy Lutomirski wrote: > On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng wrote: > > On Thu, 01/08 17:28, Andy Lutomirski wrote: > >> On Thu, Jan 8, 2015 at 5:25 PM, Fam Zheng wrote: > >> > On Thu, 01/08 09:57, Andy Lutomirski wrote: > >> >> I'd like to see a more ambitious change,

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Andy Lutomirski
On Thu, Jan 8, 2015 at 5:52 PM, Fam Zheng wrote: > On Thu, 01/08 17:28, Andy Lutomirski wrote: >> On Thu, Jan 8, 2015 at 5:25 PM, Fam Zheng wrote: >> > On Thu, 01/08 09:57, Andy Lutomirski wrote: >> >> I'd like to see a more ambitious change, since the timer isn't the >> >> only problem like this

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Fam Zheng
On Thu, 01/08 17:28, Andy Lutomirski wrote: > On Thu, Jan 8, 2015 at 5:25 PM, Fam Zheng wrote: > > On Thu, 01/08 09:57, Andy Lutomirski wrote: > >> I'd like to see a more ambitious change, since the timer isn't the > >> only problem like this. Specifically, I'd like a syscall that does a > >> lis

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Andy Lutomirski
On Thu, Jan 8, 2015 at 5:25 PM, Fam Zheng wrote: > On Thu, 01/08 09:57, Andy Lutomirski wrote: >> On Thu, Jan 8, 2015 at 1:12 AM, Miklos Szeredi wrote: >> > On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: >> >> Applications could use epoll interface when then need to poll a big >> >> number

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Fam Zheng
On Thu, 01/08 09:57, Andy Lutomirski wrote: > On Thu, Jan 8, 2015 at 1:12 AM, Miklos Szeredi wrote: > > On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: > >> Applications could use epoll interface when then need to poll a big number > >> of > >> files in their main loops, to achieve better per

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Andy Lutomirski
On Jan 8, 2015 10:42 AM, wrote: > > On Thu, Jan 08, 2015 at 09:57:24AM -0800, Andy Lutomirski wrote: > > On Thu, Jan 8, 2015 at 1:12 AM, Miklos Szeredi wrote: > > > On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: > > >> Applications could use epoll interface when then need to poll a big > >

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Alexei Starovoitov
On Thu, Jan 8, 2015 at 10:42 AM, wrote: >> I'd like to see a more ambitious change, since the timer isn't the >> only problem like this. Specifically, I'd like a syscall that does a >> list of epoll-related things and then waits. The list of things could >> include, at least: >> >> - EPOLL_CTL

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread josh
On Thu, Jan 08, 2015 at 09:57:24AM -0800, Andy Lutomirski wrote: > On Thu, Jan 8, 2015 at 1:12 AM, Miklos Szeredi wrote: > > On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: > >> Applications could use epoll interface when then need to poll a big number > >> of > >> files in their main loops,

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Andy Lutomirski
On Thu, Jan 8, 2015 at 1:12 AM, Miklos Szeredi wrote: > On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: >> Applications could use epoll interface when then need to poll a big number of >> files in their main loops, to achieve better performance than ppoll(2). >> Except >> for one concern: epo

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Michael Kerrisk (man-pages)
On 8 January 2015 at 10:12, Miklos Szeredi wrote: > On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: >> Applications could use epoll interface when then need to poll a big number of >> files in their main loops, to achieve better performance than ppoll(2). >> Except >> for one concern: epoll o

[RESEND PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Fam Zheng
[Resend because my script screwed the recipient format, sorry for the noise.] Applications could use epoll interface when then need to poll a big number of files in their main loops, to achieve better performance than ppoll(2). Except for one concern: epoll only takes timeout parameters in microse

Re: [PATCH 0/3] epoll: Add epoll_pwait1 syscall

2015-01-08 Thread Miklos Szeredi
On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote: > Applications could use epoll interface when then need to poll a big number of > files in their main loops, to achieve better performance than ppoll(2). Except > for one concern: epoll only takes timeout parameters in microseconds, rather > than