Messages in this thread | | | Date | Fri, 13 Dec 2013 10:38:14 +0800 | From | Dave Young <> | 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
| |