Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1212294 > unrolled thread

[PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt

Started byYaowei Bai <bywxiaobai@163.com>
First post2015-08-24 17:10 +0200
Last post2015-08-25 15:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt Yaowei Bai <bywxiaobai@163.com> - 2015-08-24 17:10 +0200
    Re: [PATCH v2] Documentation: add 'crashkernel=auto' entry into  kernel-parameters.txt Jonathan Corbet <corbet@lwn.net> - 2015-08-24 19:30 +0200
      Re: [PATCH v2] Documentation: add 'crashkernel=auto' entry into  kernel-parameters.txt Yaowei Bai <bywxiaobai@163.com> - 2015-08-25 15:00 +0200

#1212294 — [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt

FromYaowei Bai <bywxiaobai@163.com>
Date2015-08-24 17:10 +0200
Subject[PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt
Message-ID<q11xM-2Ri-5@gated-at.bofh.it>
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 <bywxiaobai@163.com>
---
 Documentation/kernel-parameters.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 1d6f045..9e5913e 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
+			memory to reserve for the purposes of kdump. It will make
+			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: <dma>
 
-- 
1.9.1


--
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/

[toc] | [next] | [standalone]


#1212373 — Re: [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt

FromJonathan Corbet <corbet@lwn.net>
Date2015-08-24 19:30 +0200
SubjectRe: [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt
Message-ID<q13Jg-5U9-11@gated-at.bofh.it>
In reply to#1212294
On Mon, 24 Aug 2015 23:04:29 +0800
Yaowei Bai <bywxiaobai@163.com> 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.

OK, so I did some digging here.  As far as I can tell, there is no
crashkernel=auto entry because the auto-reserve patch has never been
merged into the mainline kernel.  RHEL kernels appear to have it, but
mainline doesn't.

Thus, merging this patch would make the documentation incorrect,
something I'd rather not do.  I appreciate efforts to improve the
kernel's documentation, but it is important to be sure that your proposed
changes make the docs closer to reality, rather than further away.

Thanks,

jon
--
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/

[toc] | [prev] | [next] | [standalone]


#1213025 — Re: [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt

FromYaowei Bai <bywxiaobai@163.com>
Date2015-08-25 15:00 +0200
SubjectRe: [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt
Message-ID<q1lZw-6V3-13@gated-at.bofh.it>
In reply to#1212373
On Mon, Aug 24, 2015 at 11:26:23AM -0600, Jonathan Corbet wrote:
> On Mon, 24 Aug 2015 23:04:29 +0800
> Yaowei Bai <bywxiaobai@163.com> 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.
> 
> OK, so I did some digging here.  As far as I can tell, there is no
> crashkernel=auto entry because the auto-reserve patch has never been
> merged into the mainline kernel.  RHEL kernels appear to have it, but
> mainline doesn't.

Yes, it's indeed in the RHEL/CentOS kernels. This's my mistake.

> 
> Thus, merging this patch would make the documentation incorrect,
> something I'd rather not do.  I appreciate efforts to improve the
> kernel's documentation, but it is important to be sure that your proposed
> changes make the docs closer to reality, rather than further away.

Very appreciate your wonderful work.

> 
> Thanks,
> 
> jon

--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web