1 May 2008 01:16
Re: [PATCH] Make extended crashkernel= syntax less confusing
On Wed, 2008-04-30 at 11:29 -0700, Andrew Morton wrote: > On Wed, 30 Apr 2008 11:36:27 +1000 (EST) > Michael Ellerman <michael@...> wrote: > > > The extended crashkernel syntax is a little confusing in the > > way it handles ranges. eg: > > > > crashkernel=512M-2G:64M,2G-:128M > > > > Means if the machine has between 512M and 2G of memory the > > crash region should be 64M, and if the machine has 2G of > > memory the region should be 64M. Only if the machine has > > more than 2G memory will 128M be allocated. > > > > Although that semantic is correct, it is somewhat baffling. > > Instead I propose that the end of the range means the first > > address past the end of the range, ie: 512M up to but not > > including 2G. > > > > Signed-off-by: Michael Ellerman <michael@...> > > Acked-by: Bernhard Walle <bwalle@...> > > --- > > > > kernel/kexec.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/kernel/kexec.c b/kernel/kexec.c > > index 6782dce..0ab5e33 100644 > > --- a/kernel/kexec.c > > +++ b/kernel/kexec.c(Continue reading)
RSS Feed