Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753440AbbHVR5M (ORCPT ); Sat, 22 Aug 2015 13:57:12 -0400 Received: from casper.infradead.org ([85.118.1.10]:45123 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752131AbbHVR5L (ORCPT ); Sat, 22 Aug 2015 13:57:11 -0400 Subject: Re: [PATCH] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt To: Yaowei Bai , corbet@lwn.net References: <1440226279-8283-1-git-send-email-bywxiaobai@163.com> Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org From: Randy Dunlap Message-ID: <55D8B7ED.90600@infradead.org> Date: Sat, 22 Aug 2015 10:57:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1440226279-8283-1-git-send-email-bywxiaobai@163.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1493 Lines: 42 On 08/21/15 23:51, Yaowei Bai wrote: > There is no 'crashkernel=auto' entry in kernel-parameters.txt, borrow it > from kexec-kdump-howto.txt file in the kexec-tools-2.0.0 package. > > Signed-off-by: Yaowei Bai > --- > Documentation/kernel-parameters.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt > index 1d6f045..4da77fa 100644 > --- a/Documentation/kernel-parameters.txt > +++ b/Documentation/kernel-parameters.txt > @@ -797,6 +797,15 @@ bytes respectively. Such letter suffixes can also be entirely omitted. > It will be ignored when crashkernel=X,high is not used > or memory reserved is below 4G. > > + crashkernel=auto > + This specification allows the kernel to decide how much > + meory to reserve for the purposes of kdump. It will make memory > + this determination based on the amount of memory you have > + in your system, and scale the allocation accordingly. > + Note that if you have less than 4Gb of memory in your system, > + this specification will opt to not allocate any memory for > + the purposes of kdump. > + > cs89x0_dma= [HW,NET] > Format: > > -- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/