From: Rakib Mullick <rakib.mullick@gmail.com>
To: Ingo Molnar <mingo@elte.hu>, Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: SCHED: Is task migration necessary in sched_exec().
Date: Wed, 23 Dec 2009 16:14:27 +0600 [thread overview]
Message-ID: <b9df5fa10912230214s3815c023g2a7e7ca152eb00e4@mail.gmail.com> (raw)
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,
next reply other threads:[~2009-12-23 10:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 10:14 Rakib Mullick [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9df5fa10912230214s3815c023g2a7e7ca152eb00e4@mail.gmail.com \
--to=rakib.mullick@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®