summaryrefslogtreecommitdiff
path: root/scripts/gcc-stack-usage.sh
diff options
context:
space:
mode:
authorAristo Chen <[email protected]>2026-06-05 15:42:50 +0000
committerTom Rini <[email protected]>2026-06-17 09:53:20 -0600
commit4956f108539135afb1afdec2b509f62291087d16 (patch)
tree2c5b1d96026030568869d2cd567def5bcacbbd23 /scripts/gcc-stack-usage.sh
parent2ff26c1e37858ba0b2fd12c82e114a3cedcb317a (diff)
bootm: increase kernel_noload decompression headroom from 4x to 8x
For a compressed kernel_noload image, bootm_load_os() allocates a buffer of ALIGN(image_len * 4, SZ_1M). The 4x factor is at the edge of what modern compressors (zstd, xz) achieve on real kernels, so a well-compressed vendor kernel can fail to boot at runtime with no intervening warning. Bump the headroom to 8x. The buffer is still bounded by the compressed image size, and the SZ_1M alignment keeps the overhead below 1 MiB on small kernels. Suggested-by: Simon Glass <[email protected]> Signed-off-by: Aristo Chen <[email protected]>
Diffstat (limited to 'scripts/gcc-stack-usage.sh')
0 files changed, 0 insertions, 0 deletions