[PATCH v1 3/7] kexec: use GFP_HIGHUSER_KASAN for segment pages
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Nov 16 15:15:25 PST 2026
> kimage_load_normal_segment() allocates the pages that hold the segments
> of the next kernel. The kernel clears and fills them through
> kmap_local_page(), and they are never mapped into userspace.
>
> Allocate them with GFP_HIGHUSER_KASAN, so that they keep their KASAN
> tagging when GFP_HIGHUSER starts to skip it later in this series.
>
> No functional change: GFP_HIGHUSER_KASAN has the same value as
> GFP_HIGHUSER at this point. Build tested only.
>
> Assisted-by: LLM
> Cc: Baoquan He <baoquan.he at linux.dev>
> Cc: Pasha Tatashin <pasha.tatashin at soleen.com>
> Cc: Pratyush Yadav <pratyush at kernel.org>
> Cc: kexec at lists.infradead.org
> Signed-off-by: Jeff Xu <jeffxu at chromium.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261116230627.3537051-1-jeffxu@chromium.org?part=3
More information about the kexec
mailing list