Re: [PATCH 1/2] kvm: x86: add likely to sched_info_on()

2019-07-04 Thread Paolo Bonzini
On 04/07/19 13:46, Yi Wang wrote: > The condition to test is likely() to be true when make defconfig. > Add the hint. > > Signed-off-by: Yi Wang > --- > arch/x86/kvm/cpuid.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c > in

[PATCH 1/2] kvm: x86: add likely to sched_info_on()

2019-07-04 Thread Yi Wang
The condition to test is likely() to be true when make defconfig. Add the hint. Signed-off-by: Yi Wang --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index 4992e7c..64fff41 100644 --- a/arch/x86/kvm/cpuid.c