Re: [PATCH 8/8] net: Implement socketat.
From: Pavel Emelyanov
Date: Thu Sep 23 2010 - 07:54:27 EST
On 09/23/2010 03:40 PM, jamal wrote:
> On Thu, 2010-09-23 at 15:33 +0400, Pavel Emelyanov wrote:
>
>> This particular usecase is unneeded once you have the "enter" ability.
>
> Is that cheaper from a syscall count/cost?
Why does it matter? You told, that the usage scenario was to
add routes to container. If I do 2 syscalls instead of 1, is
it THAT worse?
> i.e do I have to enter every time i want to write/read this fd?
No - you enter once, create a socket and do whatever you need
withing the enterned namespace.
> How does poll/select work in that enter scenario?
Just like it used to before the enter.
> cheers,
> jamal
>
>
--
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/