[PATCH 0/2] fix likely hint of sched_info_on()

From: Yi Wang
Date: Thu Jul 04 2019 - 07:48:16 EST


When make defconfig, CONFIG_SCHEDSTATS is set to be y, so
sched_info_on() is 'likely' to be true. However, some functions
invoke this function with unlikely hint or use no hint. Let's
fix this.

Yi Wang (2):
kvm: x86: add likely to sched_info_on()
sched: fix unlikely use of sched_info_on()

arch/x86/kvm/cpuid.c | 2 +-
kernel/sched/stats.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)

--
1.8.3.1