[PATCH v7 4/9] crash_core: replace for_each_mem_range() with for_each_mem_region()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Tue Sep 22 01:56:58 PDT 2026
> From: Wandun Chen <chenwandun at lixiang.com>
>
> 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 at lixiang.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260922084256.1515554-1-chenwandun1@gmail.com?part=4
More information about the linux-arm-kernel
mailing list