[PATCH 1/2] kexec: Add quick kexec support for kernel
Eric W. Biederman
ebiederm at xmission.com
Fri Aug 14 11:17:06 EDT 2020
Sang Yan <sangyan at huawei.com> writes:
> In normal kexec, relocating kernel may cost 5 ~ 10 seconds, to
> copy all segments from vmalloced memory to kernel boot memory,
> because of disabled mmu.
I haven't seen kexec that slow since I tested on my 16Mhz 386.
That machine has an excuse it really is slow. Anything else
that takes seconds is almost certainly slow because someone
has misconfigured things to not cache the data copied by kexec.
I humbly suggest that you fix the arm64 code so that the data gets
cached.
Eric
More information about the kexec
mailing list