Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95660
b: refs/heads/master
c: be089d7
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Linus Torvalds committed May 1, 2008
1 parent 4c365fe commit 39f581f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c85d194bfd2e36c5254b8058c1f35cfce0dfa10a
refs/heads/master: be089d79c46f5efa77fbdf03c5e576e220bf143f
5 changes: 4 additions & 1 deletion trunk/Documentation/kdump/kdump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ The syntax is:
crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
range=start-[end]

'start' is inclusive and 'end' is exclusive.

For example:

crashkernel=512M-2G:64M,2G-:128M
Expand All @@ -253,10 +255,11 @@ This would mean:

1) if the RAM is smaller than 512M, then don't reserve anything
(this is the "rescue" case)
2) if the RAM size is between 512M and 2G, then reserve 64M
2) if the RAM size is between 512M and 2G (exclusive), then reserve 64M
3) if the RAM size is larger than 2G, then reserve 128M



Boot into System Kernel
=======================

Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/kexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ static int __init parse_crashkernel_mem(char *cmdline,
}

/* match ? */
if (system_ram >= start && system_ram <= end) {
if (system_ram >= start && system_ram < end) {
*crash_size = size;
break;
}
Expand Down

0 comments on commit 39f581f

Please sign in to comment.