diff options
author | Hongyan Xia <hongyxia@amazon.com> | 2021-04-06 15:11:53 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2021-04-07 21:27:38 +0200 |
commit | 0b69943f26ca4e126c46d52a7a94efdd82729511 (patch) | |
tree | a164dd7f86f06dbdd3d7145bed2fb370a976e1f9 /kexec/kexec-elf-boot.h | |
parent | 774a16b16328310c2be41794fa462a0f6691c121 (diff) |
Shrink segments to fit alignment instead of throwing them away
We risk throwing an entire large chunk away if it is just slightly
unaligned which then causes the crash kernel to run out of RAM. Keep
them and shrink them to alignment.
Signed-off-by: Hongyan Xia <hongyxia@amazon.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-elf-boot.h')
0 files changed, 0 insertions, 0 deletions