From: Sam King <sam_king18@yahoo.com>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] preemption
Date: Tue, 18 May 2004 06:47:26 -0700 (PDT) [thread overview]
Message-ID: <20040518134726.36369.qmail@web14002.mail.yahoo.com> (raw)
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
next reply other threads:[~2004-05-18 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-18 13:47 Sam King [this message]
2004-05-18 18:38 ` [uml-devel] preemption Jeff Dike
2004-05-23 9:18 ` BlaisorBlade
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=20040518134726.36369.qmail@web14002.mail.yahoo.com \
--to=sam_king18@yahoo.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox