* [PATCH] arm64: defaults NR_CPUS to 256
@ 2019-01-14 11:41 Mark Rutland
2019-01-14 11:50 ` Will Deacon
0 siblings, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2019-01-14 11:41 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Mark Rutland, Catalin Marinas, Will Deacon
There are shipping arm64 platforms with 256 hardware threads. So that we
can make use of these with defconfig, bump the arm64 default NR_CPUS to
256.
At the same time, drop a redundant comment. We only have one default for
NR_CPUS, so there's nothing to sort.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
---
arch/arm64/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index a4168d366127..4cad67b9ec0a 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -792,8 +792,7 @@ config SCHED_SMT
config NR_CPUS
int "Maximum number of CPUs (2-4096)"
range 2 4096
- # These have to remain sorted largest to smallest
- default "64"
+ default "256"
config HOTPLUG_CPU
bool "Support for hot-pluggable CPUs"
--
2.11.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: defaults NR_CPUS to 256
2019-01-14 11:41 [PATCH] arm64: defaults NR_CPUS to 256 Mark Rutland
@ 2019-01-14 11:50 ` Will Deacon
2019-01-14 12:00 ` Mark Rutland
0 siblings, 1 reply; 4+ messages in thread
From: Will Deacon @ 2019-01-14 11:50 UTC (permalink / raw)
To: Mark Rutland; +Cc: Catalin Marinas, linux-arm-kernel
On Mon, Jan 14, 2019 at 11:41:25AM +0000, Mark Rutland wrote:
> There are shipping arm64 platforms with 256 hardware threads. So that we
> can make use of these with defconfig, bump the arm64 default NR_CPUS to
> 256.
>
> At the same time, drop a redundant comment. We only have one default for
> NR_CPUS, so there's nothing to sort.
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
> ---
> arch/arm64/Kconfig | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index a4168d366127..4cad67b9ec0a 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -792,8 +792,7 @@ config SCHED_SMT
> config NR_CPUS
> int "Maximum number of CPUs (2-4096)"
> range 2 4096
> - # These have to remain sorted largest to smallest
> - default "64"
> + default "256"
Acked-by: Will Deacon <will.deacon@arm.com>
Will
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: defaults NR_CPUS to 256
2019-01-14 11:50 ` Will Deacon
@ 2019-01-14 12:00 ` Mark Rutland
2019-01-21 16:24 ` Catalin Marinas
0 siblings, 1 reply; 4+ messages in thread
From: Mark Rutland @ 2019-01-14 12:00 UTC (permalink / raw)
To: Will Deacon, Catalin Marinas; +Cc: linux-arm-kernel
On Mon, Jan 14, 2019 at 11:50:35AM +0000, Will Deacon wrote:
> On Mon, Jan 14, 2019 at 11:41:25AM +0000, Mark Rutland wrote:
> > There are shipping arm64 platforms with 256 hardware threads. So that we
> > can make use of these with defconfig, bump the arm64 default NR_CPUS to
> > 256.
> >
> > At the same time, drop a redundant comment. We only have one default for
> > NR_CPUS, so there's nothing to sort.
> >
> > Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: Will Deacon <will.deacon@arm.com>
> > ---
> > arch/arm64/Kconfig | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> > index a4168d366127..4cad67b9ec0a 100644
> > --- a/arch/arm64/Kconfig
> > +++ b/arch/arm64/Kconfig
> > @@ -792,8 +792,7 @@ config SCHED_SMT
> > config NR_CPUS
> > int "Maximum number of CPUs (2-4096)"
> > range 2 4096
> > - # These have to remain sorted largest to smallest
> > - default "64"
> > + default "256"
>
> Acked-by: Will Deacon <will.deacon@arm.com>
Cheers!
Catalin, assuming you'll pick this up, could you please correct the
title with s/defaults/default/ ?
... or if you prefer, I can resend with that corrected.
Mark.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: defaults NR_CPUS to 256
2019-01-14 12:00 ` Mark Rutland
@ 2019-01-21 16:24 ` Catalin Marinas
0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2019-01-21 16:24 UTC (permalink / raw)
To: Mark Rutland; +Cc: Will Deacon, linux-arm-kernel
On Mon, Jan 14, 2019 at 12:00:33PM +0000, Mark Rutland wrote:
> On Mon, Jan 14, 2019 at 11:50:35AM +0000, Will Deacon wrote:
> > On Mon, Jan 14, 2019 at 11:41:25AM +0000, Mark Rutland wrote:
> > > There are shipping arm64 platforms with 256 hardware threads. So that we
> > > can make use of these with defconfig, bump the arm64 default NR_CPUS to
> > > 256.
> > >
> > > At the same time, drop a redundant comment. We only have one default for
> > > NR_CPUS, so there's nothing to sort.
> > >
> > > Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> > > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > > Cc: Will Deacon <will.deacon@arm.com>
> > > ---
> > > arch/arm64/Kconfig | 3 +--
> > > 1 file changed, 1 insertion(+), 2 deletions(-)
> > >
> > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> > > index a4168d366127..4cad67b9ec0a 100644
> > > --- a/arch/arm64/Kconfig
> > > +++ b/arch/arm64/Kconfig
> > > @@ -792,8 +792,7 @@ config SCHED_SMT
> > > config NR_CPUS
> > > int "Maximum number of CPUs (2-4096)"
> > > range 2 4096
> > > - # These have to remain sorted largest to smallest
> > > - default "64"
> > > + default "256"
> >
> > Acked-by: Will Deacon <will.deacon@arm.com>
>
> Cheers!
>
> Catalin, assuming you'll pick this up, could you please correct the
> title with s/defaults/default/ ?
>
> ... or if you prefer, I can resend with that corrected.
Queued for 5.1 (with title corrected). Thanks.
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-01-21 16:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14 11:41 [PATCH] arm64: defaults NR_CPUS to 256 Mark Rutland
2019-01-14 11:50 ` Will Deacon
2019-01-14 12:00 ` Mark Rutland
2019-01-21 16:24 ` Catalin Marinas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.