Re: [PATCH v5 0/6] Add hardware prefetch control driver for A64FX and x86

From: Dave Hansen
Date: Tue Jun 28 2022 - 11:49:25 EST


On 6/27/22 02:36, Linus Walleij wrote:
> The right way to solve this is to make the Linux kernel contain the
> necessary heuristics to identify which tasks and thus cores need this
> to improve efficiency and then apply it automatically.

I agree in theory. But, I also want a pony in theory.

Any suggestions for how to do this in the real world?

Otherwise, I'm inclined to say that this series incrementally makes
things better in the real world by at least moving folks away from wrmsr(1).