Re: [PATCH v7 4/9] crash_core: replace for_each_mem_range() with for_each_mem_region()
From: sashiko-bot
Date: Tue Sep 22 2026 - 05:08:10 EST
> From: Wandun Chen <chenwandun@xxxxxxxxxxx>
>
> for_each_mem_range() skips MEMBLOCK_NOMAP regions implicitly. Switch the
> weak defaults to for_each_mem_region(), which exposes struct
> memblock_region and per-region flags, and filter NOMAP regions explicitly
> via the new crash_should_skip_region() helper. This prepares for a
> subsequent patch to extend the skip filter.
>
> No functional change.
>
> Signed-off-by: Wandun Chen <chenwandun@xxxxxxxxxxx>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260922084256.1515554-1-chenwandun1@xxxxxxxxx?part=4