[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4A7F8FE6.9030709@redhat.com>
Date: Mon, 10 Aug 2009 11:11:34 +0800
From: Amerigo Wang <amwang@...hat.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
CC: Neil Horman <nhorman@...hat.com>, linux-kernel@...r.kernel.org,
tony.luck@...el.com, linux-ia64@...r.kernel.org,
akpm@...ux-foundation.org, Ingo Molnar <mingo@...e.hu>,
Anton Vorontsov <avorontsov@...mvista.com>,
Andi Kleen <andi@...stfloor.org>,
Bernhard Walle <bernhard.walle@....de>,
Kexec Mailing List <kexec@...ts.infradead.org>
Subject: Re: [Patch 0/7] Implement crashkernel=auto
Eric W. Biederman wrote:
> Let me put this concrete proposal on the table.
>
> The problem:
>
> With the current set of crashkernel= options we are asking the
> distribution installer to perform magic. Moving as much of this logic
> into a normal init script for better maintenance is desirable.
>
> My proposal:
>
> Implement crashkernel=max which reserves as much memory as is
> reasonable for a crash kernel, without seriously affecting stability,
> performance, and reliability.
>
This is almost exactly what I want with crashkernel=auto....
So there's no big difference, except the name.
> As an initial approximation I would use a 32nd of low memory.
>
Hmm, I think Bernhard's proposal is fine for this case, i.e. we can
introduce a new syntax, "crashkernel=>>X" which means we reserve 1/2^X
of system memory.
What do you think?
> In addition implement:
>
> /sys/kernel/crash_size
>
> That can be written to (with enough privileges when no crash kernel is
> loaded) reduce the amount of memory reserved by the crash kernel.
>
Yeah, this is nice!
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists