lkml.org 
[lkml]   [2006]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 20 Jun 2006 11:16:16 +1000
FromPeter Williams <>
SubjectWhy is activate_task() used in __migrate_task()?
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-20 03:18    [from the cache]
©2003-2010