Re: [patch 7/8] fdmap v2 - implement sys_socket2
From: Davide Libenzi
Date: Sat Jun 09 2007 - 23:36:18 EST
On Sat, 9 Jun 2007, Linus Torvalds wrote:
> On Sat, 9 Jun 2007, Al Viro wrote:
> >
> > Eww... Idea of pipe(2) taking flags as argument...
>
> Right. That was one of the patches, and it was one that I said was too
> damn ugly to live.
>
> So I instead suggested the alternate approach of adding a single new
> system call that runs another system call indirectly, with a set of flags
> and/or other behaviour modifications.
What if we put a data section in the vdso and we let userspace set the
flags or whatever in there? Syslets could use one of those bits to set the
"threadlet mode" w/out calling a syscall at all.
In that way we have no new syscalls whatsoever. No?
- 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/