Commit 015e0f9
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 b78a909 commit 015e0f9
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| 992 | + | |
992 | 993 | | |
993 | 994 | | |
994 | 995 | | |
| |||
1015 | 1016 | | |
1016 | 1017 | | |
1017 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
1018 | 1021 | | |
1019 | 1022 | | |
1020 | 1023 | | |
| |||
1038 | 1041 | | |
1039 | 1042 | | |
1040 | 1043 | | |
1041 | | - | |
| 1044 | + | |
1042 | 1045 | | |
1043 | 1046 | | |
1044 | 1047 | | |
| |||
0 commit comments