public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions?
@ 2005-03-22 22:09 Arun Srinivas
  2005-03-22 23:16 ` Nick Piggin
  0 siblings, 1 reply; 15+ messages in thread
From: Arun Srinivas @ 2005-03-22 22:09 UTC (permalink / raw)
  To: linux-kernel

Pls. help me.  I went through the sched.c for kernel 2.6 and saw that it 
supports
hyperthreading.I would be glad if someone could answer this question....(if
am not wrong a HT processor has 2 architectural states and one execution
unit...i.e., two pipeline streams)

1)when there are 2 processes a parent and child(created by fork()) do they
get scheduled @ the same time...ie., when the parent process is put into one
pipeline, do the child also gets scheduled the same time?

2) what abt in the case of threads(I read tht as opposed to kernel2.4,where
threads are treated as processes) ..kernel 2.6 treats threads as threads.
So, when two paired threads get into execution are they always scheduled at
the same time?

Also, it would be helpful if someone could suggest which part of sched.c
shud i look into to find out how threads are scheduled for a normal
processor and for a hyperthreaded processor

Pls. CC your replies to this email address getarunsri@hotmail.com

Thanks
Arun

_________________________________________________________________
Don't know where to look for your life partner? 
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Trust 
BharatMatrimony.com


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-03-29 11:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 22:09 help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions? Arun Srinivas
2005-03-22 23:16 ` Nick Piggin
2005-03-23  6:07   ` Arun Srinivas
2005-03-23  7:37     ` Nick Piggin
2005-03-23  9:47       ` Arun Srinivas
2005-03-24  0:17         ` Nick Piggin
2005-03-29  3:28       ` sched_setscheduler() and usage issues ....please help Arun Srinivas
2005-03-29  4:40         ` Steven Rostedt
2005-03-29  4:51           ` Lee Revell
2005-03-29  6:03             ` Jan Engelhardt
2005-03-29 11:35               ` Steven Rostedt
2005-03-29 11:38                 ` Jan Engelhardt
2005-03-29 11:43               ` Arjan van de Ven
2005-03-29 11:46                 ` Jan Engelhardt
2005-03-23  7:07   ` help needed pls. scheduler(kernel 2.6) + hyperthreaded related questions? Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox