public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] kexec-tools: Remove saved_max_mem
@ 2013-05-26  3:38 Zhang Yanfei
  2013-05-26  3:40 ` [PATCH 1/4] kexec-tools: mips: " Zhang Yanfei
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Zhang Yanfei @ 2013-05-26  3:38 UTC (permalink / raw)
  To: Simon Horman; +Cc: kexec@lists.infradead.org, Eric W. Biederman

When loading the dump-capture kernel, in some architectures(mips/ppc/ppc64),
we should add the parameter "savemaxmem=" in the dump-capture kernel
commandline to tell the new kernel the amount of memory that the previous
kernel used.

Then in the dump-capture kernel, we parse this parameter and assign the
value to saved_max_pfn. In these architectures, the only user of
saved_max_pfn is the read interface read_oldmem for /dev/oldmem.

But, no one actually uses the /dev/oldmem interface. And we have decided
to remove the /dev/oldmem interface. A kernel side patch to remove this
interface have been sent. See https://lkml.org/lkml/2013/5/24/451.

So in kexec-tools, we don't need to pass this parameter anymore. This
patchset aims to remove the related variables and funtions in kexec-tools.

Zhang Yanfei (4):
  kexec-tools: mips: Remove saved_max_mem
  kexec-tools: ppc: Remove saved_max_mem
  kexec-tools: ppc64: Remove saved_max_mem
  kexec-tools: sh: Remove saved_max_mem

 kexec/arch/mips/crashdump-mips.c   |   34 ----------------------------------
 kexec/arch/ppc/crashdump-powerpc.c |   19 -------------------
 kexec/arch/ppc64/crashdump-ppc64.c |   19 -------------------
 kexec/arch/sh/crashdump-sh.c       |    6 ------
 4 files changed, 0 insertions(+), 78 deletions(-)

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2013-06-10  8:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-26  3:38 [PATCH 0/4] kexec-tools: Remove saved_max_mem Zhang Yanfei
2013-05-26  3:40 ` [PATCH 1/4] kexec-tools: mips: " Zhang Yanfei
2013-05-26  3:40 ` [PATCH 2/4] kexec-tools: ppc: " Zhang Yanfei
2013-05-26  3:41 ` [PATCH 3/4] kexec-tools: ppc64: " Zhang Yanfei
2013-05-26  3:41 ` [PATCH 4/4] kexec-tools: sh: " Zhang Yanfei
2013-05-28 22:35 ` [PATCH 0/4] kexec-tools: " Eric W. Biederman
2013-06-10  8:35   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox