likely and unlikely

Matthew Fleming matthew.fleming at isilon.com
Fri Mar 12 12:41:37 UTC 2010


> * Ivan Voras <ivoras at freebsd.org> wrote:
> > Wouldnt it be more convenient to have a single global definition of
> > them, under ifdef __GNUC__ for example in sys/stddef.h ?
> 
> Wouldnt it be better to have them in sys/cdefs.h?

... which is where __predict_true and __predict_false already live.

Cheers,
matthew


More information about the freebsd-arch mailing list