Re: [PATCH 1/2] fs: introduce sendfd() syscall
From: Alex Dubov
Date: Tue Dec 02 2014 - 21:11:33 EST
On Wed, Dec 3, 2014 at 3:42 AM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> On Wed, 2014-12-03 at 03:23 +1100, Alex Dubov wrote:
>
> Tell me how a 128 threads program can use this new mechanism in a
> scalable way.
>
> One signal per thread ?
What for?
Kernel will deliver the signal only to the thread/threads which has
the relevant signal unblocked (they are blocked by default).
>
> I guess we'll keep AF_UNIX then, thank you.
Kindly enlighten me, how are you going to use any file descriptor in a
128 threads program in a scalable way (socket and all)? How this
approach will be different when using signalfd()?
And no, I'm not proposing to take your favorite toys away.
--
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/