diff options
author | Wanpeng Li <[email protected]> | 2016-09-07 18:51:13 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-09-13 17:53:52 +0200 |
commit | 57ccdf449f962ab5fc8cbf26479402f13bdb8be7 (patch) | |
tree | 89cd6859175a3aa2503903af7d11813e2edabddb /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2ea3401e2a84eed3f5f55b2075706f88df160d85 (diff) |
tick/nohz: Prevent stopping the tick on an offline CPU
can_stop_full_tick() has no check for offline cpus. So it allows to stop
the tick on an offline cpu from the interrupt return path, which is wrong
and subsequently makes irq_work_needs_cpu() warn about being called for an
offline cpu.
Commit f7ea0fd639c2c4 ("tick: Don't invoke tick_nohz_stop_sched_tick() if
the cpu is offline") added prevention for can_stop_idle_tick(), but forgot
to do the same in can_stop_full_tick(). Add it.
[ tglx: Massaged changelog ]
Signed-off-by: Wanpeng Li <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions