diff options
author | Viresh Kumar <[email protected]> | 2017-12-13 15:23:20 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-01-10 11:30:29 +0100 |
commit | 6257e7047890084fbeeb84c641200b43f0668abc (patch) | |
tree | 0a58833561c01d661328e1de9bb8aa8a0c332d93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f453ae2200b0d1b7abc0c3794ce088899ac7a2af (diff) |
sched/cpufreq: Initialize sg_cpu->flags to 0
Initializing sg_cpu->flags to SCHED_CPUFREQ_RT has no obvious benefit.
The flags field wouldn't be used until the utilization update handler is
called for the first time, and once that is called we will overwrite
flags anyway.
Initialize it to 0.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rafael Wysocki <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vincent Guittot <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/763feda6424ced8486b25a0c52979634e6104478.1513158452.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions