RE: [PATCH] x86/resctrl: avoid compiler optimization in __resctrl_sched_in

From: Luck, Tony
Date: Tue Mar 07 2023 - 16:35:27 EST


> Ok, so here's a *ttoally* untested and mindless patch to maybe fix
> what I dislike about that resctl code.
>
> Does it fix the code generation issue? I have no idea. But this is
> what I would suggest is the right answer, without actually knowing the
> code any better, and just going on a mindless rampage.
>
> It seems to compile for me, fwiw.

Beyond compiling it boots and passes the tools/testing/selftests/resctrl test suite.

Tested-by: Tony Luck <tony.luck@xxxxxxxxx>

-Tony