All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fixes nr_cpus bug along with irq stack bootmem allocation.
@ 2016-09-28 20:01 Atish Patra
  2016-09-29  0:43 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Atish Patra @ 2016-09-28 20:01 UTC (permalink / raw)
  To: sparclinux

The first patch fixes a panic caused by nr_cpus boot parameter.
In addition to that, irq stack boot memory is allocated before 
cpu_possible_mask is modified. This can lead to wastage of boot
memory if nr_cpus is set to a lower value. The second patch
addresses this issue.

v1->v2:
    Fixed compilation error in the v2 1/2 when CONFIG_SMP is not set.

Atish Patra (2):
  sparc64: Fix cpu_possible_mask if nr_cpus is set
  sparc64: Fix irq stack bootmem allocation.

 arch/sparc/include/asm/smp_64.h |    2 ++
 arch/sparc/kernel/setup_64.c    |   26 ++++++++++++++++++++++++++
 arch/sparc/kernel/smp_64.c      |   14 ++++++++++++++
 arch/sparc/mm/init_64.c         |   16 ----------------
 4 files changed, 42 insertions(+), 16 deletions(-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 0/2] Fixes nr_cpus bug along with irq stack bootmem allocation.
  2016-09-28 20:01 [PATCH v2 0/2] Fixes nr_cpus bug along with irq stack bootmem allocation Atish Patra
@ 2016-09-29  0:43 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-09-29  0:43 UTC (permalink / raw)
  To: sparclinux

From: Atish Patra <atish.patra@oracle.com>
Date: Wed, 28 Sep 2016 13:01:18 -0700

> The first patch fixes a panic caused by nr_cpus boot parameter.
> In addition to that, irq stack boot memory is allocated before 
> cpu_possible_mask is modified. This can lead to wastage of boot
> memory if nr_cpus is set to a lower value. The second patch
> addresses this issue.
> 
> v1->v2:
>     Fixed compilation error in the v2 1/2 when CONFIG_SMP is not set.

Sorry, it doesn't work this way.

I've already applied your patches so you would have to send me
a relative fixup.

But I'll take care of this.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-29  0:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-28 20:01 [PATCH v2 0/2] Fixes nr_cpus bug along with irq stack bootmem allocation Atish Patra
2016-09-29  0:43 ` David Miller

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.