[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1562240775-16086-1-git-send-email-wang.yi59@zte.com.cn>
Date: Thu, 4 Jul 2019 19:46:13 +0800
From: Yi Wang <wang.yi59@....com.cn>
To: pbonzini@...hat.com
Cc: rkrcmar@...hat.com, tglx@...utronix.de, mingo@...hat.com,
bp@...en8.de, hpa@...or.com, x86@...nel.org, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, peterz@...radead.org,
xue.zhihong@....com.cn, wang.yi59@....com.cn, up2wing@...il.com,
wang.liang82@....com.cn
Subject: [PATCH 0/2] fix likely hint of sched_info_on()
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
Powered by blists - more mailing lists