From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14557C46CA1 for ; Mon, 18 Sep 2023 16:28:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjIRQ2l (ORCPT ); Mon, 18 Sep 2023 12:28:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230074AbjIRQ2Y (ORCPT ); Mon, 18 Sep 2023 12:28:24 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 229589EF3; Mon, 18 Sep 2023 09:21:26 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 38IGKojo028584; Mon, 18 Sep 2023 18:20:50 +0200 Date: Mon, 18 Sep 2023 18:20:50 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Shuah Khan , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH RFC v2] selftests/nolibc: don't embed initramfs into kernel image Message-ID: References: <20230917-nolibc-initramfs-v2-1-f0f293a8b198@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230917-nolibc-initramfs-v2-1-f0f293a8b198@weissschuh.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On Sun, Sep 17, 2023 at 05:21:38PM +0200, Thomas Weißschuh wrote: > When the initramfs is embedded into the kernel each rebuild of it will > trigger a full kernel relink and all the expensive postprocessing steps. > > Currently nolibc-test and therefore the initramfs are always rebuild, > even without source changes, leading to lots of slow kernel relinks. > > Instead of linking the initramfs into the kernel assemble it manually > and pass it explicitly to qemu. > This avoids all of the kernel relinks. > > Signed-off-by: Thomas Weißschuh OK, let's try it! thanks, Willy