[PATCH v7 02/15] kexec: Extract kexec_free_segment_cma() from kimage_free_cma()

sashiko-bot at kernel.org sashiko-bot at kernel.org
Mon Oct 26 02:41:11 PDT 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.
> 
> 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/20261026075201.699550-1-ruanjinjie@huawei.com?part=2




More information about the kexec mailing list