[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190705114845.GS3402@hirez.programming.kicks-ass.net>
Date: Fri, 5 Jul 2019 13:48:45 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Yi Wang <wang.yi59@....com.cn>
Cc: mingo@...hat.com, linux-kernel@...r.kernel.org,
xue.zhihong@....com.cn, up2wing@...il.com, wang.liang82@....com.cn
Subject: Re: [PATCH v2] sched: fix unlikely use of sched_info_on()
On Fri, Jul 05, 2019 at 12:35:07PM +0800, Yi Wang wrote:
> sched_info_on() is called with unlikely hint, however, the test
> is to be a constant(1) on which compiler will do nothing when
> make defconfig, so remove the hint.
>
> Also, fix a lack of {}.
>
> Signed-off-by: Yi Wang <wang.yi59@....com.cn>
Thanks!
Powered by blists - more mailing lists