Loading
governors/haltpoll: drop kvm_para_available() check
virt inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB7PU3 CVE: NA ---------------------------------------------------- The haltpoll governor is selected either by the cpuidle-haltpoll driver, or explicitly by the user. In particular, it is never selected by default since it has the lowest rating of all governors (menu=20, teo=19, ladder=10/25, haltpoll=9). So, we can safely forgo the kvm_para_available() check. This also allows cpuidle-haltpoll to be tested on baremetal. Signed-off-by:Joao Martins <joao.m.martins@oracle.com> Signed-off-by:
Mihai Carabas <mihai.carabas@oracle.com> Acked-by:
Rafael J. Wysocki <rafael@kernel.org> Signed-off-by:
Ankur Arora <ankur.a.arora@oracle.com> Signed-off-by:
lishusen <lishusen2@huawei.com>