Skip to content

kexec-tools: Remove saved_max_mem

Zhang Yanfei kexec 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kexec-tools: mips: Remove saved_max_memkexec/arch/mips/crashdump-mips.c+0 -340 replies
2/4kexec-tools: ppc: Remove saved_max_memkexec/arch/ppc/crashdump-powerpc.c+0 -190 replies
3/4kexec-tools: ppc64: Remove saved_max_memkexec/arch/ppc64/crashdump-ppc64.c+0 -190 replies
4/4kexec-tools: sh: Remove saved_max_memkexec/arch/sh/crashdump-sh.c+0 -60 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric W. Biederman
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] kexec-tools: Remove saved_max_mem

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
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec