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

Simon Horman horms at verge.net.au
Mon Jun 10 04:35:51 EDT 2013


On Tue, May 28, 2013 at 03:35:23PM -0700, Eric W. Biederman wrote:
> Zhang Yanfei <zhangyanfei.yes at gmail.com> writes:
> 
> > 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.
> 
> To this series.
> 
> Acked-by: "Eric W. Biederman" <ebiederm at xmission.com>
> 
> No one cares unless they are actually using /dev/oldmem, and so far
> it appears no one actually uses /dev/oldmem so this change looks very
> safe.

Thanks, all four patches applied.



More information about the kexec mailing list