All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Blanc <nicolas.blanc@epfl.ch>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] skas understanding
Date: Tue, 30 Mar 2004 13:23:38 +0200	[thread overview]
Message-ID: <406958BA.7080109@epfl.ch> (raw)

Hello,
I am trying to figure out how does UML run in skas mod (I already red some
papers abouts it and now I d'like to jump into the code),
but I am experiencing some difficulties about things that are done in
function start_uml_skas :

1)  in function start_userspace :

    stack = mmap(...,MAP_ANONYMOUS,...);
    ...
    pid = clone(userspace_tramp, (void *) sp,
            CLONE_FILES | CLONE_VM | SIGCHLD, NULL);
    ...
    munmap(stack,PAGE_SIZE);

I don't understand the purpose of using anonymous mmap.

2) capture_signal_stack() : what is it for ?

3) Where is the kernel thread?

Thanks

Nicolas



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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:[~2004-03-30 11:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 11:23 Nicolas Blanc [this message]
2004-03-30 17:09 ` [uml-devel] skas understanding Jeff Dike

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=406958BA.7080109@epfl.ch \
    --to=nicolas.blanc@epfl.ch \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.