diff options
| author | Peter Zijlstra <[email protected]> | 2017-04-21 12:46:57 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-05-15 10:15:21 +0200 |
| commit | 2e44b7ddf8ab01cf98106c68388f87af15fbde73 (patch) | |
| tree | e0bb9507fc4d61957b10858a2caf87e616c7332a /tools/perf/scripts/python/bin | |
| parent | f9fccdb9efef60dbcf84d493514b475c41aa866f (diff) | |
sched/clock: Use late_initcall() instead of sched_init_smp()
Core2 marks its TSC unstable in ACPI Processor Idle, which is probed
after sched_init_smp(). Luckily it appears both acpi_processor and
intel_idle (which has a similar check) are mandatory built-in.
This means we can delay switching to stable until after these drivers
have ran (if they were modules, this would be impossible).
Delay the stable switch to late_initcall() to allow these drivers to
mark TSC unstable and avoid difficult stable->unstable transitions.
Reported-by: Lofstedt, Marta <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rafael J . Wysocki <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions