All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CFS: sched-design-CFS.txt - ambiguity about leftmost
@ 2007-05-22  6:50 Pranith Kumar D
  2007-05-22  8:30 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Pranith Kumar D @ 2007-05-22  6:50 UTC (permalink / raw)
  To: mingo, linux-kernel

Hello,
I felt the description of the leftmost task a bit ambiguous. Is it the 
leftmost task in the rbtree?
or did u mean the "most leftout task" in the task list? If it is so then 
this patch should correct the leftmost task as "most leftout task". NACK 
it if I'm wrong. Just trying to help. :)

Changes "leftmost task" to "most leftout task".

Signed-off by: Pranith Kumar D<pranith-kumar_d@mentorg.com>

--- sched-design-CFS.txt.orig    2007-05-22 12:04:43.000000000 +0530
+++ sched-design-CFS.txt    2007-05-22 12:11:35.000000000 +0530
@@ -37,9 +37,9 @@ the task schedules (or a scheduler tick
 'accounted for': the (small) time it just spent using the physical CPU
 is deducted from p->wait_runtime. [minus the 'fair share' it would have
 gotten anyway]. Once p->wait_runtime gets low enough so that another
-task becomes the 'leftmost task' (plus a small amount of 'granularity'
-distance relative to the leftmost task so that we do not over-schedule
-tasks and trash the cache) then the new leftmost task is picked and the
+task becomes the 'most leftout task' (plus a small amount of 'granularity'
+distance relative to the most leftout task so that we do not over-schedule
+tasks and trash the cache) then the new most leftout task is picked and the
 current task is preempted.
 
 The rq->fair_clock value tracks the 'CPU time a runnable task would have
@@ -47,10 +47,10 @@ fairly gotten, had it been runnable duri
 rq->fair_clock values we can accurately timestamp and measure the
 'expected CPU time' a task should have gotten. All runnable tasks are
 sorted in the rbtree by the "rq->fair_clock - p->wait_runtime" key, and
-CFS picks the 'leftmost' task and sticks to it. As the system progresses
+CFS picks the 'most leftout' task and sticks to it. As the system 
progresses
 forwards, newly woken tasks are put into the tree more and more to the
 right - slowly but surely giving a chance for every task to become the
-'leftmost task' and thus get on the CPU within a deterministic amount of
+'most leftout task' and thus get on the CPU within a deterministic 
amount of
 time.
 
 Some implementation details:


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

end of thread, other threads:[~2007-05-22 10:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-22  6:50 [PATCH] CFS: sched-design-CFS.txt - ambiguity about leftmost Pranith Kumar D
2007-05-22  8:30 ` Ingo Molnar
2007-05-22  9:28   ` [PATCH] CFS: sched-design-CFS.txt - ambiguity about leftmost and some formatting Pranith Kumar D
2007-05-22 10:14     ` Ingo Molnar
     [not found]       ` <4652C379.3050801@mentorg.com>
     [not found]         ` <20070522102430.GA2344@elte.hu>
2007-05-22 10:44           ` Pranith Kumar D
2007-05-22 10:48       ` Ingo Molnar

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.