[ewg] Re: [PATCH] [RFC] IB/cache: Add ib_cache report for cache in process

Roland Dreier rdreier at cisco.com
Thu Mar 29 10:22:14 PDT 2007


 > > +	if (!atomic_read(&device->cache.coherent))
 > > +		return -ESTALE;
 > > +
 > 
 > Should be unlikely() I guess?

I don't think we have to annotate every little thing -- this doesn't
seem to be a hot enough path to me for it to be worth cluttering it up
with unlikely...

 - R.



More information about the ewg mailing list