public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SCHED: Is task migration necessary in sched_exec().
@ 2009-12-23 10:14 Rakib Mullick
  2009-12-23 10:21 ` Peter Zijlstra
  0 siblings, 1 reply; 11+ messages in thread
From: Rakib Mullick @ 2009-12-23 10:14 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra; +Cc: LKML

 Is task migration necessary in sched_exec()?

 In sched_exec function's comment it says:

 "sched_exec - execve() is a valuable balancing opportunity, because at
  this point the task has the smallest effective memory and cache footprint."

Right, but - when a execve() is called then this task will start execution (that
means this task will not waiting on the runqueue as TASK_RUNNING/WAKING,
it will get the CPU). At this point - what is the necessity to try
making it balance.
By looking at point of "smallest effective memory and cache footprint" , we are
missing the point that we are unnecessarily pushing task when its
about to execute.

Isn't it? Or I'm missing anything?


Rakib,

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

end of thread, other threads:[~2009-12-25  2:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 10:14 SCHED: Is task migration necessary in sched_exec() Rakib Mullick
2009-12-23 10:21 ` Peter Zijlstra
2009-12-23 10:46   ` Rakib Mullick
2009-12-23 10:53     ` Peter Zijlstra
2009-12-23 11:35       ` Rakib Mullick
2009-12-23 11:51         ` Peter Zijlstra
2009-12-23 12:04           ` Rakib Mullick
2009-12-23 12:20             ` Peter Zijlstra
2009-12-23 12:52               ` Rakib Mullick
2009-12-23 18:06                 ` Peter Zijlstra
2009-12-25  2:53                   ` Rakib Mullick

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