unlikely compiler flag propagation
Anupam Kapoor
anupam.kapoor at gmail.com
Thu Feb 19 06:34:07 EST 2015
>>>>> [2015-02-19T00:08:01+0530]: "Nicholas Mc Guire" (nicholas-mcguire):
nicholas-mcguire> On Wed, 18 Feb 2015, Greg KH wrote:
,----[ greg-kh ]
| As proof of this, there was a test of the kernel a year or so ago that
| measured the placement of the existing likely/unlikely markers in the
| kernel and 90% of the usages were wrong and actually slowed down the
| processor.
`----
,----[ nicholas-mcguire ]
| interesting - would you have a reference to some talk/paper/data/... ?
`----
couple of 'slightly' oldish posts:
http://blog.man7.org/2012/10/how-much-do-builtinexpect-likely-and.html and
http://thread.gmane.org/gmane.linux.kernel/1072767
---
thanks
anupam
More information about the Kernelnewbies
mailing list