Re: Syslets, Threadlets, generic AIO support, v6

From: Davide Libenzi
Date: Wed May 30 2007 - 17:49:08 EST


On Wed, 30 May 2007, Linus Torvalds wrote:

> > And then the semantics: do these descriptors should show up in
> > /proc/self/fd? Are there separate directories for each namespace? Do
> > they count against the rlimit?
>
> Oh, absolutely. The'd be real fd's in every way. People could use them
> 100% equivalently (and concurrently) with the traditional ones. The whole,
> and the _only_ point, would be that it breaks the legacy guarantees of a
> dense fd space.
>
> Most apps don't actually *need* that dense fd space in any case. But by
> defaulting to it, we wouldn't break those (few) apps that actually depend
> on it.

I agree. What would be a good interface to allocate fds in such area? We
don't want to replicate syscalls, so maybe a special new dup function?



- 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/