[PATCH] kexec: Add --lite option

Eric W. Biederman ebiederm at xmission.com
Sat Oct 24 06:33:33 AEDT 2015


Geoff Levand <geoff at infradead.org> writes:

>> > It was reported that on some systems where purgatory is running
>> > without caches enabled the sha256 calculations would take several
>> > minutes.  For bootloaders that just load a new image and
>> > immediately jump into it the loss of the integrity check is worth
>> > the increase in boot speed.  Please consider.  
>> 
>> Pratyush reported the arm64 issue, he sent a patch to fix it with
>> enabling cache for purgatory. I think the patch can fix the problem.
>> Why not fix it? The fix is simple enough and it does not introduce
>> complicate logic.
>
> This patch also is simple, and is architecture independent.  I see this
> feature as an improvement to kexec, not necessarily as a fix for that
> problem.

Disabling image verification is not an improvement, all it does is
allow for a nasty form of heisenbug.


Eric


More information about the Petitboot mailing list