From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753217AbcHPI7T (ORCPT ); Tue, 16 Aug 2016 04:59:19 -0400 Received: from b.ns.miles-group.at ([95.130.255.144]:44723 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752189AbcHPI7R (ORCPT ); Tue, 16 Aug 2016 04:59:17 -0400 Subject: Re: [RFC PATCH] Introduce a 'recovery' command line option To: Janne Karhunen References: <1471329393-11764-1-git-send-email-Janne.Karhunen@gmail.com> Cc: LKML From: Richard Weinberger Message-ID: <6168cbce-b422-3ba6-8959-c5631c74cc9e@nod.at> Date: Tue, 16 Aug 2016 10:59:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16.08.2016 09:15, Janne Karhunen wrote: > On Tue, Aug 16, 2016 at 10:04 AM, Richard Weinberger > wrote: > >> Why are you moving this feature into the kernel? >> To support such advanced features we have the initramfs. >> >> dracut has already rootfallback=. > > 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? ;-) 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. Thanks, //richard