diff options
author | Gleb Natapov <[email protected]> | 2012-11-28 15:19:08 +0200 |
---|---|---|
committer | Marcelo Tosatti <[email protected]> | 2012-11-28 21:30:13 -0200 |
commit | 859f8450d8a334a7f7cb994e4676cf918deff832 (patch) | |
tree | 9092a37fc3c6b934705ad52380e5eadd35795a4e /tools/perf/scripts/python/sctop.py | |
parent | d98d07ca7e0347d712d54a865af323c4aee04bc2 (diff) |
KVM: use is_idle_task() instead of idle_cpu() to decide when to halt in async_pf
As Frederic pointed idle_cpu() may return false even if async fault
happened in the idle task if wake up is pending. In this case the code
will try to put idle task to sleep. Fix this by using is_idle_task() to
check for idle task.
Reported-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Gleb Natapov <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions