[PATCH] x86: Find offset for crashkernel reservation automatically

Eric W. Biederman ebiederm at xmission.com
Fri Jun 27 14:00:44 EDT 2008

Bernhard Walle <bwalle at suse.de> writes:

> Ah, that's true. Only on x86, right? (That would be an alternative for
> ia64, too ...)
> But in general policy should go in userspace (if possible), so I agree
> with you that kexec-tools can handle that.

At a quick skim the patch looks good.  I thought I had initially implemented
the code to work this way but apparently in all of the churn that aspect of it
got lost.

Let's start with trying to allocate the memory as low as possible for
a crash kernel (I think you are already doing that).

If we need something more we can add another meta character to specify a limit.
/sbin/kexec should balk at loading if the reserved region is too high.

Ramdisks in particular are a problem because they need to be in low mem.


More information about the kexec mailing list