|
@@ -104,8 +104,9 @@ static inline void sched_info_queued(struct task_struct *t)
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- * Called when a process ceases being the active-running process, either
|
|
|
- * voluntarily or involuntarily. Now we can calculate how long we ran.
|
|
|
+ * Called when a process ceases being the active-running process involuntarily
|
|
|
+ * due, typically, to expiring its time slice (this may also be called when
|
|
|
+ * switching to the idle task). Now we can calculate how long we ran.
|
|
|
* Also, if the process is still in the TASK_RUNNING state, call
|
|
|
* sched_info_queued() to mark that it has now again started waiting on
|
|
|
* the runqueue.
|