All of lore.kernel.org
 help / color / mirror / Atom feed
* user/kernel level thread and thread's models mapping
@ 2004-12-17  0:49 maria belliti
  0 siblings, 0 replies; only message in thread
From: maria belliti @ 2004-12-17  0:49 UTC (permalink / raw)
  To: linux-kernel

Hi

I wish to be personally CC'ed the answers/comments posted to the list in 
response to this post

Theoritically, user level thread ensures thread management , such as
scheduling and context switch, to be performed without a system call
i.e Kernel intervention whereas with kernel level threads, kernel is
aware about the threads and the context switch is done by the kernel
which requires then a system call and mode switch. Meanwhile there are
three models to map user threads to kernel threads: one to one, many
to many, many to one.

My question is how can we have a conjunction of user level thread and
many to many model (or one to one model)? One to one model maps each
user thread to kernel thread which are normally used to perform
context switch at the kernel level (mode). However user level thread
dictates that context switch should be done without kernel
intervention!!

I read that Java switched from green to native mode, which involves
one to one model mapping and yet it is said that context switch is
done at the user level with no intervention from the kernel... that's
my confusion

thanks

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-17  0:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-17  0:49 user/kernel level thread and thread's models mapping maria belliti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.