shinfo(skb)
>> we better do a prefetch before.
>>
>> In fact, if we prefetch any variable that we want to use then we end up
>> with performance boost.
>>
>> So - any hints, what are the guidlines for using prefetch()?
>
> You really should *not* prefetch()
er() to speedup skb_shinfo(skb) */
>
> According to this logic, anywhere that we want to call skb_shinfo(skb)
> we better do a prefetch before.
>
> In fact, if we prefetch any variable that we want to use then we end up
> with performance boost.
>
> So - any hints, what are
ce
one field of the struct, all/most of the needed stuff gets sucked in on
the same cache line. That's probably more productive than trying to add
prefetch calls all over the place.
> So - any hints, what are the guidlines for using prefetch()?
Only use it if you have good reason to belie