Hi, All

I have a question about trap handling in UML kernel, particularly in the
skas0 mode.
My understanding is that, UML will fork a kernel thread for each user
process and
this thread will go to a loop (in userspace()) and wait for signal from user
process using
ptrace. If a signal occurs, it will call the signal handler to handle the
interrupt.
Is it correct?

My second question is, how many kernel threads are there in skas0 mode or I
should
ask how many different kinds of kernel threads will be created? Is there any
kernel thread
in UML other than those created for user process?

My last question is, given a kernel thread, if it is possible that the
execution of a thread will
be interrupted by others other than by scheduler?

Thank you

Haifeng
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to