[PATCH v3 01/12] kexec: Add a crash memaction registry
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Sep 28 17:36:45 UTC 2026
> Add a registry identifying page use to a kdump kernel. Intended uses are
> wiping of crypto keys on crash, or omitting pages holding e.g. crypto
> keys or unimportant caches from crash dumps.
>
> The registry is a bitmap with one bit for each physical page. The
> meaning of the bits is set by the crash_memaction= cmdline param. When
> not present, no bitmap is allocated. Marking is a lock-free bitmap
> update with no allocation, so it is safe from any context.
>
> The bitmap and its metadata is handed over to the kdump kernel through
> elfcorehdr.
>
> Signed-off-by: Jan Sebastian Götte <linux at jaseg.de>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260928-crash-memaction-upstream-20260921-v3-0-e511e9ee2329@jaseg.de?part=1
More information about the Linux-security-module-archive
mailing list