kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* why are scheduling domains used in multiprocessor systems
@ 2013-01-09  8:03 Bond
  2013-01-10  1:02 ` Peter Teoh
  2013-01-10  3:30 ` Preeti U Murthy
  0 siblings, 2 replies; 5+ messages in thread
From: Bond @ 2013-01-09  8:03 UTC (permalink / raw)
  To: kernelnewbies

Hi,
please see this question
http://stackoverflow.com/questions/14229793/what-does-struct-sched-domain-stands-for-in-include-linux-sched-h-scheduling-do

I checked following
http://lwn.net/Articles/169277/ and following
http://www.kernel.org/doc/Documentation/scheduler/sched-domains.txt
the first line of kernel.org doc says
.............  Each CPU has a "base" scheduling domain (struct
sched_domain)..............
and second para says
" each scheduling domain spans a number of CPUs (stored in the ->span field)."
third para says
"  Each scheduling domain must have one or more CPU groups..................
The intersection of cpumasks from any two of these groups
MUST be the empty set."
then some where in doc it says
"Balancing within a sched domain occurs between groups. That is, each group
is treated as one entity." the doc in details talks about the implementation of

scheduling domains and mentions that CPUs should belong to one of the
scheduling domain in a way that
cpumasks intersection should  be an  empty set

The answer of the question that I want to know is
why is a scheduling domain actually needed?

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

end of thread, other threads:[~2013-01-11  6:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09  8:03 why are scheduling domains used in multiprocessor systems Bond
2013-01-10  1:02 ` Peter Teoh
2013-01-10  3:30 ` Preeti U Murthy
2013-01-10 10:09   ` Bond
2013-01-11  6:45     ` Peter Teoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).