linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net, jcb62281@gmail.com
Subject: Re: [uml-devel] SKAS4 design question
Date: Wed, 18 Jan 2006 12:58:34 +0100	[thread overview]
Message-ID: <200601181258.34474.blaisorblade@yahoo.it> (raw)
In-Reply-To: <43CBF532.8020103@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

  reply	other threads:[~2006-01-18 11:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 19:34 [uml-devel] SKAS4 design question Jacob Bachmeyer
2006-01-18 11:58 ` Blaisorblade [this message]
2006-01-18 23:52   ` Jacob Bachmeyer
2006-01-19  0:37     ` Blaisorblade
2006-01-19 22:23       ` Jacob Bachmeyer
2006-01-20 16:41         ` Blaisorblade
2006-01-23 19:59           ` Jacob Bachmeyer
2006-01-30 11:09             ` Blaisorblade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601181258.34474.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=jcb62281@gmail.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox