From mboxrd@z Thu Jan 1 00:00:00 1970 From: mulyadi.santosa@gmail.com (Mulyadi Santosa) Date: Fri, 17 Jun 2011 00:37:35 +0700 Subject: Linux kernel thread model In-Reply-To: <819362.67362.qm@web95803.mail.in.yahoo.com> References: <399106.3291.qm@web95802.mail.in.yahoo.com> <819362.67362.qm@web95803.mail.in.yahoo.com> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Jun 16, 2011 at 14:06, manish honap 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