Re: [PATCH] vmcore: convert mmap_vmcore_fault() to use folios

From: sashiko-bot

Date: Tue Sep 15 2026 - 19:53:50 EST


> Use a folio for the page cache page the s390 fault handler reads the
> old kernel's memory into. This removes four compound_head() calls and
> one of the last callers of find_or_create_page().
>
> The vmcore mapping only has order-0 folios, so the logic is unchanged.
>
> Compile tested for s390.
>
> Signed-off-by: Tal Zussman <tz2294@xxxxxxxxxxxx>

Sashiko has reviewed this patch and found no issues. It looks great!

--
Sashiko AI review · https://sashiko.dev/#/patchset/20260915-vmcore-fault-folio-v1-1-a0cb6278670f@xxxxxxxxxxxx?part=1