On Wed, Mar 21, 2007 at 10:11:48PM +0800, Krishnappa Abhijith-A21204 wrote: > Also from your below response it means that: UML just have a > task_structure maintained.... > Also I never saw the UML specific schedule() code in .../arch/um does > UML uses the host schedule itself ?
UML, like any other port, uses the schedule() in kernel/sched.c. The UML-specific context switching indirectly uses the host's scheduler when it switches from one host process to another. TT mode has the outgoing process sleeping in a read() on a pipe after waking up the incoming process from its read by writing a byte down its pipe. But the host makes no scheduling decisions between UML processes - the UML scheduler makes the decisions and the host scheduler just decides when the process chosen by the UML scheduler actually gets some CPU time. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- 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 User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel