Re: Linux kernel thread model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 16, 2011 at 14:06, manish honap
<manish_honap_vit@xxxxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux