Re: [Resend Patch] kexec: allow to shrink reserved memory

From: Eric W. Biederman
Date: Mon Nov 23 2009 - 14:41:54 EST


Amerigo Wang <amwang@xxxxxxxxxx> writes:

> This patch implements shrinking the reserved memory for crash kernel,
> if it is more than enough.
>
> For example, if you have already reserved 128M, now you just want 100M,
> you can do:
>
> # echo $((100*1024*1024)) > /sys/kernel/kexec_crash_size
>
> Note, you can only do this before loading the crash kernel.

Acked-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

Looks good to me.

Eric


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/