aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBenjamin Segall <[email protected]>2021-04-29 16:22:34 +0000
committerPaolo Bonzini <[email protected]>2021-05-03 11:25:36 -0400
commit262de4102c7bb8e59f26a967a8ffe8cce85cc537 (patch)
tree5edd83d866953237b4971e9c1ab9e60d7bc416e9 /tools/perf/scripts/python
parentd981dd15498b188636ec5a7d8ad485e650f63d8d (diff)
kvm: exit halt polling on need_resched() as well
single_task_running() is usually more general than need_resched() but CFS_BANDWIDTH throttling will use resched_task() when there is just one task to get the task to block. This was causing long-need_resched warnings and was likely allowing VMs to overrun their quota when halt polling. Signed-off-by: Ben Segall <[email protected]> Signed-off-by: Venkatesh Srinivas <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Cc: [email protected] Reviewed-by: Jim Mattson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions