Re: [PATCH 4.19 156/191] powerpc: Warn about use of smt_snooze_delay

From: Pavel Machek
Date: Thu Nov 05 2020 - 14:23:09 EST


Hi!

> From: Joel Stanley <joel@xxxxxxxxx>
>
> commit a02f6d42357acf6e5de6ffc728e6e77faf3ad217 upstream.
>
> It's not done anything for a long time. Save the percpu variable, and
> emit a warning to remind users to not expect it to do anything.
>
> This uses pr_warn_once instead of pr_warn_ratelimit as testing
> 'ppc64_cpu --smt=off' on a 24 core / 4 SMT system showed the warning
> to be noisy, as the online/offline loop is slow.

I don't believe this is good idea for stable. It is in 5.9-rc2, and
likely mainline users will get userspace fixed, but that warning is
less useful for -stable users.

(And besides, it does not fix any serious bug).

Best regards,
Pavel

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: PGP signature