[lkml]   [2017]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] schedule: use unlikely()
On Mon, Nov 13, 2017 at 02:00:45PM -0500, Mikulas Patocka wrote:
> A small patch for schedule(), so that the code goes straght in the common
> case.
> Signed-off-by: Mikulas Patocka <>

Was this a measurable difference? If so, great, please provide the
numbers and how you tested in the changelog. If it can't be measured,
then it is not worth it to add these markings as the CPU/compiler almost
always knows better.


greg k-h

 \ /
  Last update: 2017-11-25 09:57    [W:0.116 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site