Re: [PATCH 1/3] MIPS: Rework smt cmdline parameters
From: Thomas Bogendoerfer
Date: Fri Jun 09 2023 - 04:38:49 EST
On Sun, May 21, 2023 at 11:31:22PM +0100, Jiaxun Yang wrote:
> Provide a generic smt parameters interface aligned with s390
> to allow users to limit smt usage and threads per core.
>
> It replaced previous undocumented "nothreads" parameter for
> smp-cps which is ambiguous and does not cover smp-mt.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> ---
> .../admin-guide/kernel-parameters.txt | 4 ++--
> arch/mips/include/asm/smp.h | 2 ++
> arch/mips/kernel/smp-cps.c | 13 +------------
> arch/mips/kernel/smp-mt.c | 3 ++-
> arch/mips/kernel/smp.c | 18 ++++++++++++++++++
> 5 files changed, 25 insertions(+), 15 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]