Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kexec: make extended crashkernel= syntax less confusing
The extended crashkernel syntax is a little confusing in the way it handles ranges. eg: crashkernel=512M-2G:64M,2G-:128M Means if the machine has between 512M and 2G of memory the crash region should be 64M, and if the machine has 2G of memory the region should be 64M. Only if the machine has more than 2G memory will 128M be allocated. Although that semantic is correct, it is somewhat baffling. Instead I propose that the end of the range means the first address past the end of the range, ie: 512M up to but not including 2G. [[email protected]: clarify inclusive/exclusive in crashkernel commandline in documentation] Signed-off-by: Michael Ellerman <[email protected]> Acked-by: Bernhard Walle <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Simon Horman <[email protected]> Signed-off-by: Bernhard Walle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information