lkml.org 
[lkml]   [2016]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC PATCH] Introduce a 'recovery' command line option
On Tue, Aug 16, 2016 at 11:59 AM, Richard Weinberger <richard@nod.at> wrote:

>> For saving some precious boot-up time (my systems run without initrd)
>> and to unify the solutions. If kernel does this bootloaders and
>> initrds don't have to care.
>
> Features - collect them all? ;-)

Well if every vendor ends up implementing something different for this
purpose and it can be solved with just a few lines of common kernel
code, IMHO it might just be worth it.


> I my opinion it is not wise to move feature into the kernel which can
> be solved perfectly fine in userspace (initramfs).
>
> How much slows an initramfs your boot time down?
>
> Did you try using a handmade minimal initramfs? Not compressed, single c program,
> statically linked..., etc.

Depends on the initrd and the hardware, of course. Certainly you can
implement the same on initd, but you can never make it as fast as this
one. Moreover, this solution would have a common 'user interface' for
the functionality if anyone cares about the userspace unification
efforts.


--
Janne

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.052 / U:1.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site