Re: [PATCH v5 2/3] x86/cpu: Check if feature string is non-zero
From: Maciej Wieczor-Retman
Date: Fri Feb 13 2026 - 15:27:14 EST
On 2026-02-13 at 12:00:16 -0800, Sohil Mehta wrote:
>On 2/13/2026 11:10 AM, Maciej Wieczor-Retman wrote:
>> So I'd think pr_cont() would work here best?
>
>What about multi-threading? Would x86_cap_name() be called at the same
>time from multiple CPUs?
I guess you're right, there are too many ways this can backfire. I'll do what
Peter suggested and just try with passing a pointer from the calling function.
--
Kind regards
Maciej Wieczór-Retman