summaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2017-03-21 18:22:49 -0700
committerSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2017-05-19 12:30:51 -0700
commit5b138bd514a25350683f7b0bd874ab2b995b94e5 (patch)
tree6f677ce1c08518e80c315891ff21cce89407601f /fs/dcache.c
parent5404e35069576a8cd8203065f60975e34a5f727b (diff)
sched: Fix load tracking bug to avoid adding phantom task demand
When update_task_ravg() is called with the TASK_UPDATE event on a task that is not on the runqueue, task demand accounting incorrectly treats the time delta as execution time. This can happen when a sleeping task is moved to/from colocation groups. This phantom execution time can cause unpredictable changes to demand that in turn can result in incorrect task placement. Fix the issue by adding special handling of TASK_UPDATE in task demand accounting. CPU busy time accounting already has all the necessary checks. Change-Id: Ibb42d83ac353bf2e849055fa3cb5c22e7acd56de Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions