diff options
| author | 2019-10-18 08:49:29 +0800 | |
|---|---|---|
| committer | 2019-10-22 11:43:17 +0200 | |
| commit | 31d851407f90076c58291fb5eadc82c1dd613cee (patch) | |
| tree | 8c8174dfb72dcb51426db6f9650844c6041249a2 /tools/perf/scripts/python/stat-cpi.py | |
| parent | Linux 5.4-rc4 (diff) | |
| download | wireguard-linux-31d851407f90076c58291fb5eadc82c1dd613cee.tar.xz wireguard-linux-31d851407f90076c58291fb5eadc82c1dd613cee.zip | |
cpuidle: haltpoll: Take 'idle=' override into account
Currenly haltpoll isn't aware of the 'idle=' override, the priority is
'idle=poll' > haltpoll > 'idle=halt'. When 'idle=poll' is used, cpuidle
driver is bypassed but current_driver in sys still shows 'haltpoll'.
When 'idle=halt' is used, haltpoll takes precedence and makes
'idle=halt' have no effect.
Add a check to prevent the haltpoll driver from loading if 'idle=' is
present.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Co-developed-by: Joao Martins <joao.m.martins@oracle.com>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
