From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755008Ab0IWLyZ (ORCPT ); Thu, 23 Sep 2010 07:54:25 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:31378 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754528Ab0IWLyX (ORCPT ); Thu, 23 Sep 2010 07:54:23 -0400 Message-ID: <4C9B3F9C.8080506@parallels.com> Date: Thu, 23 Sep 2010 15:53:00 +0400 From: Pavel Emelyanov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100720 Fedora/3.0.6-1.fc12 Thunderbird/3.0.6 MIME-Version: 1.0 To: hadi@cyberus.ca CC: "Eric W. Biederman" , linux-kernel@vger.kernel.org, Linux Containers , netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Daniel Lezcano , Linus Torvalds , Michael Kerrisk , Ulrich Drepper , Al Viro , David Miller , "Serge E. Hallyn" , Pavel Emelyanov , Ben Greear , Matt Helsley , Jonathan Corbet , Sukadev Bhattiprolu , Jan Engelhardt , Patrick McHardy Subject: Re: [PATCH 8/8] net: Implement socketat. References: <4C9B162E.7040201@parallels.com> <1285240797.5036.5.camel@bigi> <4C9B3B06.900@parallels.com> <1285242055.5036.9.camel@bigi> In-Reply-To: <1285242055.5036.9.camel@bigi> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > >