* Why is activate_task() used in __migrate_task()?
@ 2006-06-20 1:16 Peter Williams
0 siblings, 0 replies; only message in thread
From: Peter Williams @ 2006-06-20 1:16 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Linux Kernel Mailing List
It would seem to me that using activate_task() in __migrate_task() in
lieu of __activate_task() has two undesirable consequences: 1)
recalculating and resetting prio and 2) resetting the time stamp. The
fact that the time stamp is adjusted for the change of run queue just
before activate_task() is called reinforces my suspicion that these
consequences are unintended.
Is there a reason for using activate_task() that I can't see?
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-20 1:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20 1:16 Why is activate_task() used in __migrate_task()? Peter Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox