Commit 6c8b1ad
Pingfan Liu
kdump-lib: Skip adding reserved memory for small-memory machine
This increased "crashkernel=" raises the risk of OOM conditions in the
production kernel, particularly on small-memory machines that typically
lack such hardware features (Mellanox network cards, SMMU). So we
skip that case on aarch64. For other arches, the above factors are not
considered, so ignore them for the time being.
Signed-off-by: Pingfan Liu <[email protected]>1 parent 350e016 commit 6c8b1ad
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| 1015 | + | |
1015 | 1016 | | |
1016 | 1017 | | |
1017 | 1018 | | |
| |||
1038 | 1039 | | |
1039 | 1040 | | |
1040 | 1041 | | |
| 1042 | + | |
| 1043 | + | |
1041 | 1044 | | |
1042 | 1045 | | |
1043 | 1046 | | |
| |||
1061 | 1064 | | |
1062 | 1065 | | |
1063 | 1066 | | |
1064 | | - | |
| 1067 | + | |
1065 | 1068 | | |
1066 | 1069 | | |
1067 | 1070 | | |
| |||
0 commit comments