linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] preemption
@ 2004-05-18 13:47 Sam King
  2004-05-18 18:38 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Sam King @ 2004-05-18 13:47 UTC (permalink / raw)
  To: user-mode-linux-devel

Hello!

I am trying to understand how the UML kernel preempts
guest user mode applications in SKAS mode.  I am using
version 2.4.20 of the guest kernel.

From what I can tell, when the guest kernel takes a
timer interrupt (SIGALRM) it eventually updates the
tsk->need_resched parameter for processes that have
been running for too long.  However, I do not see
where the actual switch takes place except in the
interrupt_end() function which is only called as a
result of guest application system calls and signals. 
Since I am sure that the guest kernel supports
preemption, I must be missing something.

Thank you for you help.

--Sam


	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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] 3+ messages in thread

end of thread, other threads:[~2004-05-23 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 13:47 [uml-devel] preemption Sam King
2004-05-18 18:38 ` Jeff Dike
2004-05-23  9:18   ` BlaisorBlade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox