[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220209133447.GB11741@alpha.franken.de>
Date: Wed, 9 Feb 2022 14:34:47 +0100
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Nathan Chancellor <nathan@...nel.org>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH] MIPS: Malta: Enable BLK_DEV_INITRD
On Tue, Feb 08, 2022 at 12:17:26PM -0700, Nathan Chancellor wrote:
> This configuration is useful for boot testing malta_defconfig in QEMU
> with just a simple cpio initrd, instead of a full ext4 rootfs.
>
> This results in an increase of ~164KB of vmlinux (with GCC 11.2.0):
>
> $ diskus vmlinux.before
> 11.19 MB (11,194,368 bytes)
>
> $ diskus vmlinux.after
> 11.36 MB (11,358,208 bytes)
>
> This size increase comes from the fact that usr/Kconfig is sourced when
> CONFIG_BLK_DEV_INITRD is enabled, which defaults to supporting several
> decompression algorithms for compressed initrds. This seems like a
> reasonable tradeoff but these configurations could be disabled in the
> future if there are complaints about the size increase.
>
> Signed-off-by: Nathan Chancellor <nathan@...nel.org>
> ---
> arch/mips/configs/malta_defconfig | 1 +
> 1 file changed, 1 insertion(+)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists