Re: How many kernel threads will be created

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

 



On 20:57 Sun 13 Apr     , V.Ravikumar wrote:
> Hello all,
> 
> Please clarify the following quetions?
> 1. How many kernel threads will be created for a user space process consists
> say 5 threads.

Zero. Just 5 kernel stacks - one for every user space thread; This stack is
used when a user space thread executes a syscall. In the kernel this is
software interrupt context. On x86 systems which do not have the syscall
instruction the syscall is executed by moving the arguments in the register
and then executing "int 0x80". Do not mix it with SoftIRQ, this is something
completly different.

> 2. What is the differece btw linux kernel process and kernel thread.  I read
> in linux there is no differece btw a kernel process and kernel thread

What is a kernel process? I thought Linux is a monolithic kernel and executes
everything in the same address space...
	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.homelinux.net


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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