[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131213023814.GA5519@dhcp-16-126.nay.redhat.com>
Date: Fri, 13 Dec 2013 10:38:14 +0800
From: Dave Young <dyoung@...hat.com>
To: akpm@...ux-foundation.org, rob@...dley.net,
gregkh@...uxfoundation.org, grant.likely@...retlab.ca,
sebastian.capella@...aro.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] use initmpfs even if there's root= cmdline
On 12/12/13 at 05:25pm, Dave Young wrote:
>
> Current code use ramfs instead of tmpfs for stub when root= defined.
>
> But for real use case with initramfs, usually there's like cmdline like
> root=UUID=$UUID the root dev is the real device. For that case we have
> no way to use initmpfs, thus this patch removes the limitation so tmpfs
> can benefit more people.
>
> The logic become:
> if CONFIG_TMPFS && rootfstype is not ramfs
> use tmpfs
> else
> use ramfs
>
Discussed with Vivek Goyal about the kdump use case, I missed one thing that
tmpfs has default size limit though we can tune it.
So I will think more about it, will address this later, please ignore this
patch.
Thanks
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists