From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Linux kernel thread model
Date: Fri, 17 Jun 2011 00:37:35 +0700 [thread overview]
Message-ID: <BANLkTikoZ5mc2YtvXK1mRYmuPKB1c4TDpA@mail.gmail.com> (raw)
In-Reply-To: <819362.67362.qm@web95803.mail.in.yahoo.com>
On Thu, Jun 16, 2011 at 14:06, manish honap
<manish_honap_vit@yahoo.co.in> wrote:
> How they understand whether kernel part is scheduled or user part is scheduled ?
not sure if I got your question correctly, but the one that is
scheduled is the process..... 1:1 model means for single
fork()/clone()/pthread_create() in user space, clone() syscall with
various parameters are called in kernel space. Then, we end up
creating single process. This represent that whole single thread.
whether it's currently running in user space or kernel space, that's
up to the code....
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
next prev parent reply other threads:[~2011-06-16 17:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 4:39 Linux kernel thread model manish honap
2011-06-16 5:15 ` Mulyadi Santosa
2011-06-16 7:06 ` manish honap
2011-06-16 17:37 ` Mulyadi Santosa [this message]
2011-06-16 21:54 ` Dave Hylands
2011-06-17 5:26 ` Prashant Shah
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=BANLkTikoZ5mc2YtvXK1mRYmuPKB1c4TDpA@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/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;
as well as URLs for NNTP newsgroup(s).