On Monday, December 16, 2013 11:50:14 am Luigi Rizzo wrote:
> Is it ok in kernel code to use __builtin_prefetch() and assume that
> all supported compilers will do the right thing for all architectures ?
>
> I am asking is because I need to use prefetch() in a small number
> of places in my netmap
Is it ok in kernel code to use __builtin_prefetch() and assume that
all supported compilers will do the right thing for all architectures ?
I am asking is because I need to use prefetch() in a small number
of places in my netmap code, and nothing in our kernel sources uses
__builtin_prefetch() dir