summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2006-12-10 02:20:31 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-10 09:55:43 -0800
commitb18ec80396834497933d77b81ec0918519f4e2a7 (patch)
tree659422f11d4ed64725e321105f0465d27bb60d3d /include/linux/sched.h
parent08c183f31bdbb709f177f6d3110d5f288ea33933 (diff)
downloadop-kernel-dev-b18ec80396834497933d77b81ec0918519f4e2a7.zip
op-kernel-dev-b18ec80396834497933d77b81ec0918519f4e2a7.tar.gz
[PATCH] sched: improve migration accuracy
Co-opt rq->timestamp_last_tick to maintain a cache_hot_time evaluation reference timestamp at both tick and sched times to prevent said reference, formerly rq->timestamp_last_tick, from being behind task->last_ran at evaluation time, and to move said reference closer to current time on the remote processor, intent being to improve cache hot evaluation and timestamp adjustment accuracy for task migration. Fix minor sched_time double accounting error which occurs when a task passing through schedule() does not schedule off, and takes the next timer tick. [kenneth.w.chen@intel.com: cleanup] Signed-off-by: Mike Galbraith <efault@gmx.de> Acked-by: Ingo Molnar <mingo@elte.hu> Acked-by: Ken Chen <kenneth.w.chen@intel.com> Cc: Don Mullis <dwm@meer.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud