commit | fef75c0d4c03c6cb774c165a38e06f5ca1b6418f | [log] [tgz] |
---|---|---|
author | Junjie Wu <junjiew@codeaurora.org> | Tue May 26 17:54:38 2015 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Mon Mar 20 12:16:12 2017 -0700 |
tree | 3a0c830d803ff062e5d92ac39f4c8c1caf8c659c | |
parent | a26c0704063117b3101906f5dd39b23843949c1c [diff] |
cpufreq: interactive: Use sched_get_cpus_busy() to query busy time sched_get_cpus_busy() provides a snapshot of all CPUs' busy time information for the set of CPUs being queried. This avoids race condition due to migration when CPU load is queried one by one. Change-Id: I6afdfa74ff9f3ef616872df4e2c3bb04f6233c3f Signed-off-by: Junjie Wu <junjiew@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>