Re: x86 copy performance regression

From: Linus Torvalds
Date: Fri May 26 2023 - 12:57:28 EST

On Fri, May 26, 2023 at 9:37 AM Eric Dumazet <edumazet@xxxxxxxxxx> wrote:
> Hmm.. my build environment does not like this yet :)

Ahh, I tested it in an allmodconfig build, but only building that one
file, and not trying to link it. And gas was apparent;y perfectly
happy just leaving that undefined feature as a relocation.

I assume that if you just add a

#include <asm/cpufeatures.h>

to the includes, it magically works for you?