-> Is there an article about downsides of likely() usage?
Posted May 24, 2011 21:55 UTC (Tue) by corbet (editor, #1)
Posted May 25, 2011 13:10 UTC (Wed) by oak (guest, #2786)
I typically use unlikely() in my code just to annotate ifs in error check&logging macros. If errors aren't unlikely, I think the performance of un/likely() is the least of my issues...
Posted May 25, 2011 15:30 UTC (Wed) by SLi (subscriber, #53131)
Posted May 30, 2011 15:21 UTC (Mon) by berkus (guest, #74327)
Posted Jun 1, 2011 4:20 UTC (Wed) by AdamRichter (guest, #11129)
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds