Re: [PATCH] x86/fred: Add this_cpu_fred_sp() and export it for KVM
From: Sohil Mehta
Date: Tue Nov 24 2026 - 12:25:00 EST
On 11/24/2026 7:52 AM, Dave Hansen wrote:
> Sohil,
>
> We can take cleanups that both make sense for non-KVM FRED code and are
> _described_ that way. We can't add dead code, or take things that have
> changelogs for code that's not in the tree.
>
> In other words, please write a changelog and send code that has nothing
> immediate to do with KVM. If that's not possible for a given patch,
> that's a pretty good clue it's not a cleanup and can't be merged early.
>
> Anything going in early has to stand on its own, please.
Hi Dave,
My primary motivation with this patch was only to get an ACK from the
x86 side. I believe you may have missed my note under the '---' section.
Maybe I should have included a small cover letter.
"... I am posting this separately because the patch has a minor
dependency on the ESTACK_ prefix patch merged in tip today. The main
goal is to collect acks from the x86 maintainers.
The first exported user for the helper is going to be in the FRED KVM
series, so I assume this would likely be merged via the KVM tree ..."
This patch only exists due to KVM and should be merged with the FRED KVM
series. It is the last remaining core x86 patch, so I just wanted to
make it easier for you to review it (instead of the scanning through the
large KVM series).