diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-18 11:23:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-18 11:23:32 -0500 |
commit | 7e28b2712e5ebd8d73d25561585bc2ae77da5c30 (patch) | |
tree | 34e54c0c411f5fa8dae537a0f9773d19f5c57351 /kernel/sched/stats.h | |
parent | 186844b292140d1e33225ec95039b6adb03d3fec (diff) | |
parent | 13b62e46d5407c7d619aea1dc9c3e0991b631b57 (diff) | |
download | kernel_goldelico_gta04-7e28b2712e5ebd8d73d25561585bc2ae77da5c30.zip kernel_goldelico_gta04-7e28b2712e5ebd8d73d25561585bc2ae77da5c30.tar.gz kernel_goldelico_gta04-7e28b2712e5ebd8d73d25561585bc2ae77da5c30.tar.bz2 |
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar:
"Misc fixes"
* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched: Fix comment for sched_info_depart
sched/Documentation: Update sched-design-CFS.txt documentation
sched/debug: Take PID namespace into account
sched/fair: Fix small race where child->se.parent,cfs_rq might point to invalid ones
Diffstat (limited to 'kernel/sched/stats.h')
-rw-r--r-- | kernel/sched/stats.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/sched/stats.h b/kernel/sched/stats.h index 5aef494..c7edee7 100644 --- a/kernel/sched/stats.h +++ b/kernel/sched/stats.h @@ -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. |