Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1EzBxU-0005z3-Jy for user-mode-linux-devel@lists.sourceforge.net; Wed, 18 Jan 2006 03:58:36 -0800 Received: from smtp009.mail.ukl.yahoo.com ([217.12.11.63]) by mail.sourceforge.net with smtp (Exim 4.44) id 1EzBxU-0008It-Bc for user-mode-linux-devel@lists.sourceforge.net; Wed, 18 Jan 2006 03:58:36 -0800 From: Blaisorblade Subject: Re: [uml-devel] SKAS4 design question References: <43CBF532.8020103@gmail.com> In-Reply-To: <43CBF532.8020103@gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200601181258.34474.blaisorblade@yahoo.it> Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 18 Jan 2006 12:58:34 +0100 To: user-mode-linux-devel@lists.sourceforge.net, jcb62281@gmail.com On Monday 16 January 2006 20:34, Jacob Bachmeyer wrote: > Has any thought been given to making SKAS4 suitably generic that it > could be used for more than just UML? Not yet, thoughts welcome. > PS: If I understand correctly, UML with the current SKAS3 works by > swapping processes into and out of a single "user" address space. > I > propose a system where many distinct "user" address spaces are > maintained by the kernel and execution is placed whereever the user-mode > scheduler says. What you say is not clear, but the most obvious understanding of the above sentence is that you propose what already happens. However, SKAS3 and current ideas for SKAS4, with different APIs but similar semantics, say: implement all guest processes as user-level threads (totally implemented within UML) with the exception that we allow different address spaces. So we have "switch the guest proc to a different address space" (PTRACE_SWITCH_MM, in arch/i386/kernel/ptrace.c), manipulate with mmap/munmap/mprotect any of these address spaces, and destroy it (all in mm/proc_mm.c). -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel