Re: [PATCH 1/3] x86/mm: Fix potential overflow in user_pcid_flush_mask
From: Dave Hansen
Date: Tue Jun 03 2025 - 17:33:59 EST
On 6/3/25 14:20, Rik van Riel wrote:
>> Honestly, I'd just leave this out for the bug fix. If someone really
>> cares, we can come back and fix it up in mainline.
> I added the #ifdef at Ingo's request.
>
> I am happy to do the code in any way you two can
> agree on, but we should probably avoid the back
> and forth over many versions thing 🙂
Ingo, I don't think the #ifdef is worth it, especially for what needs to
go to stable@. The PTI config option is enabled quite widely, so it's
not doing much practically. If you feel strongly that it's required for
this series, then it needs to be broken out as a prerequisite and not
intermingled with the actual bug fix.