Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750814AbWBCK2d (ORCPT ); Fri, 3 Feb 2006 05:28:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751136AbWBCK2d (ORCPT ); Fri, 3 Feb 2006 05:28:33 -0500 Received: from mailhub.sw.ru ([195.214.233.200]:24745 "EHLO relay.sw.ru") by vger.kernel.org with ESMTP id S1750814AbWBCK2c (ORCPT ); Fri, 3 Feb 2006 05:28:32 -0500 Message-ID: <43E330AD.3020202@openvz.org> Date: Fri, 03 Feb 2006 13:30:05 +0300 From: Kirill Korotaev User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030426 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: Herbert Poetzl CC: Kirill Korotaev , serue@us.ibm.com, arjan@infradead.org, frankeh@watson.ibm.com, clg@fr.ibm.com, haveblue@us.ibm.com, mrmacman_g4@mac.com, alan@lxorguk.ukuu.org.uk, Linux Kernel Mailing List , Linus Torvalds , Andrew Morton , Alexey Kuznetsov , devel@openvz.org Subject: Re: [RFC][PATCH] VPIDs: Virtualization of PIDs (OpenVZ approach) References: <43E22B2D.1040607@openvz.org> <20060203030143.GC1075@MAIL.13thfloor.at> In-Reply-To: <20060203030143.GC1075@MAIL.13thfloor.at> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2508 Lines: 57 > well, IMHO this approach lacks a few things which would > be very useful in a mainline pid virtualization, which > pretty much explains why it is relatively small > > - hierarchical structure (it's flat, only one level) PID virtualization has nothing to do with containers and its structure. This VPID patch can be used both in environments with hierarchical and flat structure. I mean that this VPID patch introduces some kind of abstraction, which means that global unique pid is not always what user sees. Thats it. And kernel should not be modified in all places where access checks current->pid == allowed_pid are done. Global unique PIDs are preserved. > - a proper administration scheme Can't catch what you mean. What kind of administration do you want for VPIDs? Do you have one for usual PIDs? It is assigned by kernel and that's it. > - a 'view' into the child pid spaces it has. see proc patch. > - handling of inter context signalling How is it related to inter context signalling??? virtualization of signaling is a separate task and has nothing to do with pids. > and, more important, it does not deal with the existing > issues and error cases, where references to pids, tasks, > task groups and sessions aren't handled properly ... 1. if kernel has some errors, these errors should be fixed. Virtualization doesn't deal with it, doesn't solve such issues, doesn't make it worse. So what do you mean? 2. if kernel has some issues and error cases can you point them to me? I will be glad to fix it. Without pointing to the facts your words sound like a pure speculation. What issues? What error cases? Where task groups and sessiona aren't handled properly? > I think that in real world virtualization scenarios > with hundreds of namespaces those 'imprecisions' will > occasionally lead to very strange and random behaviour > which in many cases will go completely unnoticed. OpenVZ successfully works with >1000 VPSs on a single server. What scenarios do you mean? I see no arguments from your side except for some guesses. > so I really prefer to cleanup the existing pid handling > first, to avoid big surprises later ... I'm not against pid handling cleanups, am I? This can be done in parallel/before/after. Kirill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/