On Tue, Jun 04, 2024 at 09:23:58AM +0800, Dave Young wrote: > kexec_in_progress is only for checking if this is in a reboot (kexec) code path. > But eif_mem_reserve is only called during the boot time so checking > kexec_in_progress is meaningless here. > current_kernel_is_booted_via_kexec != is_rebooting_with_kexec That's exactly what I wanna check: whether this is a kexec-ed kernel. Or is there a better helper for that? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec