[PATCH v8 08/11] kexec: Extract kexec_free_segment_cma() from kimage_free_cma()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 12 06:07:07 PST 2026
> Arch loaders truncate nr_segments when a placement fails, so the CMA
> pages of the dropped segments become unreachable. Export a per-segment
> helper so they can be released first.
>
> No functional change intended.
>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Baoquan He <baoquan.he at linux.dev>
> Cc: Mike Rapoport <rppt at kernel.org>
> Cc: Pasha Tatashin <pasha.tatashin at soleen.com>
> Cc: Pratyush Yadav <pratyush at kernel.org>
> Cc: Breno Leitao <leitao at debian.org>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112133418.4044428-1-ruanjinjie@huawei.com?part=8
More information about the kexec
mailing list