Re: [patch V3 01/40] cpu/SMT: Make SMT control more robust against enumeration failures

From: Thomas Gleixner
Date: Fri Aug 04 2023 - 16:01:59 EST


On Fri, Aug 04 2023 at 19:50, Borislav Petkov wrote:
> On Wed, Aug 02, 2023 at 12:20:59PM +0200, Thomas Gleixner wrote:
>> kernel/cpu.c | 6 ++++++
>> 1 file changed, 6 insertions(+)
>> --- a/kernel/cpu.c
>> +++ b/kernel/cpu.c
>> @@ -630,6 +630,12 @@ static inline bool cpu_smt_allowed(unsig
>
> As discussed on IRC, the name and what the function does is kinda
> conflicting.
>
> What it actually queries is whether the CPU can be booted. So something
> like this ontop I guess:

No objections from my side.