Re: [PATCH v3 1/2] powerpc/fadump: reduce memory consumption for capture kernel

2017-04-26 Thread Michal Suchánek
Hello, On Wed, 26 Apr 2017 13:05:20 +0530 Hari Bathini wrote: > With fadump (dump capture) kernel booting like a regular kernel, it > almost needs the same amount of memory to boot as the production > kernel, which is unwarranted for a dump capture kernel. But with no > option to disable some of

Re: [PATCH v3 1/2] powerpc/fadump: reduce memory consumption for capture kernel

2017-04-26 Thread Michael Ellerman
Hari Bathini writes: > On Wednesday 26 April 2017 04:02 PM, Michael Ellerman wrote: >> Hari Bathini writes: >> >>> diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c >>> index 8ff0dd4..87edc7b 100644 >>> --- a/arch/powerpc/kernel/fadump.c >>> +++ b/arch/powerpc/kernel/fadum

Re: [PATCH v3 1/2] powerpc/fadump: reduce memory consumption for capture kernel

2017-04-26 Thread Hari Bathini
On Wednesday 26 April 2017 04:02 PM, Michael Ellerman wrote: Hari Bathini writes: diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c index 8ff0dd4..87edc7b 100644 --- a/arch/powerpc/kernel/fadump.c +++ b/arch/powerpc/kernel/fadump.c @@ -338,6 +343,36 @@ unsigned long __

Re: [PATCH v3 1/2] powerpc/fadump: reduce memory consumption for capture kernel

2017-04-26 Thread Michael Ellerman
Hari Bathini writes: > diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c > index 8ff0dd4..87edc7b 100644 > --- a/arch/powerpc/kernel/fadump.c > +++ b/arch/powerpc/kernel/fadump.c > @@ -338,6 +343,36 @@ unsigned long __init arch_reserved_kernel_pages(void) > return mem

[PATCH v3 1/2] powerpc/fadump: reduce memory consumption for capture kernel

2017-04-26 Thread Hari Bathini
With fadump (dump capture) kernel booting like a regular kernel, it almost needs the same amount of memory to boot as the production kernel, which is unwarranted for a dump capture kernel. But with no option to disable some of the unnecessary subsystems in fadump kernel, that much memory is wasted