* [uml-devel] skas understanding
@ 2004-03-30 11:23 Nicolas Blanc
2004-03-30 17:09 ` Jeff Dike
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Blanc @ 2004-03-30 11:23 UTC (permalink / raw)
To: user-mode-linux-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] skas understanding
2004-03-30 11:23 [uml-devel] skas understanding Nicolas Blanc
@ 2004-03-30 17:09 ` Jeff Dike
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2004-03-30 17:09 UTC (permalink / raw)
To: Nicolas Blanc; +Cc: user-mode-linux-devel
nicolas.blanc@epfl.ch said:
> I don't understand the purpose of using anonymous mmap.
If you want a random piece of memory, it needs to be anonymous.
> 2) capture_signal_stack() : what is it for ?
It's broken and is going to change, but it grabs a host signal frame so it
can later copy it, with modifications, to its own processes stacks when they
receive signals.
> 3) Where is the kernel thread?
start_uml_skas, it spends most of its time in the various invocations of
userspace().
Jeff
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-30 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-30 11:23 [uml-devel] skas understanding Nicolas Blanc
2004-03-30 17:09 ` Jeff Dike
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.