summaryrefslogtreecommitdiff
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-07-25 08:04:27 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:00:10 -0700
commit8e526b1ab439c3a013d4e27b7e0dc0fae031599d (patch)
tree859c2b2ca41132f1c3323e352a7b3830c61717df /include/linux/debugfs.h
parentc820f1c5f27c54278d8f124dd4fc8b7b507ef579 (diff)
sched: Fix herding issue
check_for_migration() could run concurrently on multiple cpus, resulting in multiple tasks wanting to migrate to same cpu. This could cause cpus to be underutilized and lead to increased scheduling latencies for tasks. Fix this by serializing select_best_cpu() calls from cpus running check_for_migration() check and marking selected cpus as reserved, so that subsequent call to select_best_cpu() from check_for_migration() will skip reserved cpus. Change-Id: I73a22cacab32dee3c14267a98b700f572aa3900c Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> [rameezmustafa@codeaurora.org]: Port to msm-3.18] Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions