[PATCH 0/5] misc fixes on halt-poll code both KVM and guest

From: Zhenzhong Duan
Date: Fri Oct 25 2019 - 23:25:16 EST


The last two patches are similar with 2nd and 3rd, but counterpart for guest.

Zhenzhong Duan (5):
KVM: simplify branch check in host poll code
KVM: add a check to ensure grow start value is nonzero
KVM: ensure pool time is longer than block_ns
cpuidle-haltpoll: add a check to ensure grow start value is nonzero
cpuidle-haltpoll: fix up the branch check

drivers/cpuidle/governors/haltpoll.c | 21 +++++++++++++++------
virt/kvm/kvm_main.c | 18 ++++++++++++------
2 files changed, 27 insertions(+), 12 deletions(-)

--
1.8.3.1