Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2103541pxb; Wed, 9 Feb 2022 10:55:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLAyWSEZy/GcxU41JUsuWJKzB1gA32Uap9X+zHOkdEgf8PIbooMkG7ECC7SvsMpbeENjRD X-Received: by 2002:a05:6402:42cc:: with SMTP id i12mr4167198edc.220.1644432900408; Wed, 09 Feb 2022 10:55:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644432900; cv=none; d=google.com; s=arc-20160816; b=j47N1NGfNSb9DUYjAe8Ddm/uxHFNve+f81Vhx9Z3l9NSQWc6bzPt3vSDXjeb6ogEH1 KTfj4HmPkawfAPOP1ubCosaW4fb4Ghl7ZF96ao59OH8tZCqtbtE9BWz9okdkTv+7pooX kz4ojPEELOZtQ0iNpA4UqKgZeiHq7yHna8fQILsMMoNn6Qv3GgoWFmVjDrhxI0tf75Hl Xyap8q6Ci98LvDPoI5+8p6L4r2vfu+u8hnAgMqRN01G5dUKW1Cx4JR2RMdCSFOpcG7ER hTcjrWWe411Lp2iaptPHGvSgcZ73GFCYARuE3iDpoinLPLMq9qENzenRi8L/4VCOWkHS Ylog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FXPAUMDy9CPnMcBoZyJTU9ONmEWW95sDCIV+8A9MT10=; b=lz4/lvamWhqZQZTqbO4kcUBuDYaOxn+Z0gKwuT3iLZnGzQysiJKn0RqJfil/75Mots IaEW5OrJ8tPeQVNhHM0lz9BP4y6eqw7EWpG2+jk+rdZQe/iNO1FTQBjbM1OZnwoQGMrc +L2Omu7/NPaHb63ICLjV6wL1JPKWcslGoKnS8ndJRdR0/pIhbDMWZCqTb+E/rM4JJGAe NBT0Nwxb0bqmSQ115uyUJcsweBx35NGCyAsdooNYcw1TO6cWcIFfJhp12iQERMQz11PB cd8Iguwpe6v29JKc5A3Bccvzi3H/5GR4snZGMc50VEZU4AUmM1EagYgLYUsxVD664dS9 VzJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb37si7934306ejc.844.2022.02.09.10.54.33; Wed, 09 Feb 2022 10:55:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234068AbiBINe5 (ORCPT + 99 others); Wed, 9 Feb 2022 08:34:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234038AbiBINez (ORCPT ); Wed, 9 Feb 2022 08:34:55 -0500 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9C6DFC0613CA; Wed, 9 Feb 2022 05:34:58 -0800 (PST) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1nHn7Y-0005Ye-01; Wed, 09 Feb 2022 14:34:56 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 27B35C24BE; Wed, 9 Feb 2022 14:34:47 +0100 (CET) Date: Wed, 9 Feb 2022 14:34:47 +0100 From: Thomas Bogendoerfer To: Nathan Chancellor Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Kees Cook Subject: Re: [PATCH] MIPS: Malta: Enable BLK_DEV_INITRD Message-ID: <20220209133447.GB11741@alpha.franken.de> References: <20220208191726.1304731-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220208191726.1304731-1-nathan@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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 ]