lkml.org 
[lkml]   [2007]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: aio is unlikely
Andrew Morton wrote:
> Yes, if you agree with Jeff's original point.
>
> But I don't, actually. Sure, on some machines+workloads, AIO is more
> common than sync IO. But I expect that when we sum across all the
> machines+workloads in the world, sync IO is more common and is hence the
> case we should optimise for.
>
> That's assuming that the unlikely() actually does something.

But as Jeff said, that's not what unlikely is for. It should only be
used when it is unlikely for everybody, all the time, because when it is
right, it helps rather little, but when it is wrong, it hurts a lot.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-18 23:57    [W:0.035 / U:20.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site