]> www.infradead.org Git - users/dwmw2/linux.git/commit
kexec_core: Add and update comments regarding the KEXEC_JUMP flow
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jan 2025 14:04:19 +0000 (14:04 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 14 Jan 2025 12:03:34 +0000 (13:03 +0100)
commitdc6ffa6cd52d2cd8fa25b25e42c80faf17f5fe33
tree53ed5286bedfb829c5045e666028b26de509ac14
parent2114796ca041f0d3e79e5dd165219b940b23c540
kexec_core: Add and update comments regarding the KEXEC_JUMP flow

The KEXEC_JUMP flow is analogous to hibernation flows occurring before
and after creating an image and before and after jumping from the
restore kernel to the image one, which is why it uses the same device
callbacks as those hibernation flows.

Add comments explaining that to the code in question and update an
existing comment in it which appears a bit out of context.

No functional changes.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250109140757.2841269-8-dwmw2@infradead.org
kernel/kexec_core.c