On Fri, Jul 11, 2014 at 12:14:25AM +0200, Thomas Hellström wrote: > > I agree, however that readability may be more important than the > fastpath execution speed gained from this. But in my case not so > much that I spontaneously feel like removing all branch prediction > hints from the vmwgfx driver. I'm just saying, let's not add new ones. > > > > >There are two rules of thumb for likely/unlikely: > > > > 1) Don't use it in the drivers/ directory. > > 2) Or don't use it without benchmarking it. > > Could you point me to a document or some sort of reference? http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2012-March/025252.html regards, dan carpenter _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel