Commit 2494f96
Pingfan Liu
crashkernel: Maximize the reserved size in osbuild case
At present, the deduction of the proper crashkernel value depends on
detecting platform details. However, more and more platforms are now
deployed using OSTree images, which means kdump-utils cannot retrieve
complete platform information. This often leads to an underestimation of
the memory required by the kdump kernel, increasing the risk of
out-of-memory (OOM) issues.
To mitigate this situation, we choose to maximize the reserved
crashkernel size in the osbuild case, and recommend users to update the
kernel command line and release the excess reserved memory after reboot
(addressed in the next patch).
Signed-off-by: Pingfan Liu <[email protected]>1 parent 063548f commit 2494f96
1 file changed
+28
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
276 | 291 | | |
277 | 292 | | |
278 | 293 | | |
| |||
854 | 869 | | |
855 | 870 | | |
856 | 871 | | |
857 | | - | |
| 872 | + | |
858 | 873 | | |
859 | 874 | | |
860 | 875 | | |
861 | 876 | | |
862 | | - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
863 | 884 | | |
864 | 885 | | |
865 | 886 | | |
| |||
1006 | 1027 | | |
1007 | 1028 | | |
1008 | 1029 | | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1009 | 1033 | | |
1010 | 1034 | | |
1011 | 1035 | | |
| |||
1033 | 1057 | | |
1034 | 1058 | | |
1035 | 1059 | | |
1036 | | - | |
| 1060 | + | |
1037 | 1061 | | |
1038 | 1062 | | |
1039 | 1063 | | |
| |||
0 commit comments