> On Oct 8, 2019, at 4:17 PM, Gary B. Genett <me@xxxxxxxxxxxxxxx> wrote: > > Adds a kernel configuration option to specify the size of the shmem > filesystem. It is currently hard-coded to 50% of memory. Users should > have the option to set this value as they see fit. > > A specific case where this would be necessary is if the initramfs were > larger than half of the memory, such as a 2.5GB "live" filesystem on > a system with 4GB of memory. Without this option, this causes a kernel > panic. With this option, the user may specify the number of pages of > memory they need for their root filesystem. > > This patch creates the SHMEM_SIZE configuration option, which is > specified as the number of memory pages to use for the shmem > filesystem. The default remains unchanged. This patch has no impact > unless the values are changed. > > The option is marked as expert, and the help text is clear that it > should only be set if the user knows what they are doing. Hide it under the EXPERT does not mean the bar is lower to justify when introduced a new config option. What’s the benefits of this vs squashfs/resize?