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

2019-07-04 Thread Peter Zijlstra
On Thu, Jul 04, 2019 at 07:46:13PM +0800, Yi Wang wrote: > 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. How about remove the hint entirely? lik

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

2019-07-04 Thread Yi Wang
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() ar