Re: [patch 7/8] fdmap v2 - implement sys_socket2

From: Davide Libenzi
Date: Thu Jun 07 2007 - 14:03:25 EST


On Thu, 7 Jun 2007, Eric Dumazet wrote:

> accept2(int fd, ...)

I don't see any reason to not have it inherit the non-sequential
characteristics of "fd".



> pipe2(int *fds, int oflags);

I think pipe+sys_nonseqfd should be OK for those.



> eventfd2(int count, int oflags);
> signalfd2(int ufd, sigset_t __user *user_mask, size_t sizemask, int oflags);
> timerfd2(int ufd, int clockid, int flags,const struct itimerspec __user *utmr, int oflags) ...

Those I think we're still in time to change the interface. No?
Even if not, those are not perf-critical, so I think that
syscall+sys_nonseqfd is still fine.



- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/