Re: [PATCH v6 06/10] memblock: introduce MEMBLOCK_NODUMP flag

From: Mike Rapoport

Date: Fri Sep 18 2026 - 03:01:40 EST


On Wed, Sep 02, 2026 at 03:31:12PM +0800, Wandun Chen wrote:
> From: Wandun Chen <chenwandun@xxxxxxxxxxx>
>
> Add MEMBLOCK_NODUMP to mark regions that should be excluded from
> kdump vmcores.
>
> The flag is meant for reserved memory that carries no data useful for
> crash analysis. Reusable reserved regions such as CMA may hold useful
> data, so these regions must not be marked MEMBLOCK_NODUMP. Subsequent
> patches wire this up for /reserved-memory and /memreserve/ entries.
>
> Suggested-by: Rob Herring <robh@xxxxxxxxxx>
> Signed-off-by: Wandun Chen <chenwandun@xxxxxxxxxxx>
> Tested-by: Meijing Zhao <zhaomeijing@xxxxxxxxxxx>

Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

> ---
> include/linux/memblock.h | 9 +++++++++
> mm/memblock.c | 16 ++++++++++++++++
> 2 files changed, 25 insertions(+)

--
Sincerely yours,
Mike.