summaryrefslogtreecommitdiff
path: root/kexec/add_segment.c
diff options
context:
space:
mode:
authorHongyan Xia <hongyxia@amazon.com>2021-04-06 15:11:53 +0100
committerSimon Horman <horms@verge.net.au>2021-04-07 21:27:38 +0200
commit0b69943f26ca4e126c46d52a7a94efdd82729511 (patch)
treea164dd7f86f06dbdd3d7145bed2fb370a976e1f9 /kexec/add_segment.c
parent774a16b16328310c2be41794fa462a0f6691c121 (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/add_segment.c')
0 files changed, 0 insertions, 0 deletions