Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1214682pxb; Fri, 1 Oct 2021 06:07:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7pBQy7pG/R5kgMK4GkR66AMmc+lbJ3IwEf47U2+tXt3tMKW+P7qOKst7w56886c7SmEex X-Received: by 2002:a05:6402:40d1:: with SMTP id z17mr10153630edb.49.1633093667073; Fri, 01 Oct 2021 06:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633093667; cv=none; d=google.com; s=arc-20160816; b=gvO+8PieiolK+BUUzWWYrpUPokS7J+Y5eJqihM3hk9pXkM8St2j4rorWxkbIhlcfPb MVn0EzaFyDIHVP90bIK8fvCDG9ZETC95yu6Dn2USl30aLPMy89a4E9unhRHt1PlkPSgi f2l2egO2hMCPZJD1fACCwkxmGv5WrhgYAf6TJO/n4R9G/h8Ilp0tAygm9A6z40AGeB1S L1idQ7WvmmBJ9m9rtONG+6ba7wXAjzy5hPYLB4MazhIOT1CZ2yYpTFCI6z2mMSstqNhB exSicaHkTYAPKaZIdmN6r5LRp4gX07N/Ls6MCx4A+fPnl7pN25cF+lC7IOIhxV6RB72u TnBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Mu18CAq1hBqJeqwZJAQst74KZfOgiaFerApR3I6y0OU=; b=R0tZznjTmZlh0Mq55VmYdm8SeZvxec/Hd4LIBikrfcmtHcYuNOx06SNmjcs17gA17/ o5/Iw2UZVNbpVKao91N5k6ks16+daao/uGy+0oKELmVIjR57dBj3pUJz1Z8J0uSwA4kn hnZfbJLvHFKiepiXlLL7i8qhmc4S8UB/bLeDlErc3zc2UIKLe++A+ZHI9nVf6mcutU8i uT2bbmtjnQYIAngvMd8dpwKtl+5Qel+jKqnV8d1p9FqzgYPXU94kwFirvmIa2+5rWi/f NTixQbgoeOO0b142x32DFe0/naaAzZmvzruK1vbFhjfabX0A28MgNFTXAGxGTbETQdKM DBXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FXQiOVBO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw15si5555152ejb.640.2021.10.01.06.07.17; Fri, 01 Oct 2021 06:07:47 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=FXQiOVBO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354374AbhJAMdX (ORCPT + 99 others); Fri, 1 Oct 2021 08:33:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352922AbhJAMdW (ORCPT ); Fri, 1 Oct 2021 08:33:22 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB8AEC06177B for ; Fri, 1 Oct 2021 05:31:37 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id s24so7107179wmh.4 for ; Fri, 01 Oct 2021 05:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Mu18CAq1hBqJeqwZJAQst74KZfOgiaFerApR3I6y0OU=; b=FXQiOVBOuXGIos9ZeYjN3BTAxm8yH1TdT07eKtbvce8xv5IVrtB1Lg4FQNFN9p7TN9 QkzNV6Ct/N3bi2v03QgZ1xJ+RqGFou/Pao0LO5z6nRQ51/hYNajXGlPREYU8VP7YoD6Y vV13HXltj32P+yT4nhrAPpmLdz3iJUMgJuVprWHaBQkgObe1fnscPjuC3mtmfv6wIUB1 zgZQWcaz0BAljE8CIgE7XCnwZRuScBaNR274lLCpj9jara54mzkZPLfAIs3Ehiyyluo3 TRuxz5k1l+uYwZM5+DfHuL4h2dX6BIBeF0LRqMKWNoL9E0He3LhLvGa3XQg3e5Yq0tTQ 9DUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Mu18CAq1hBqJeqwZJAQst74KZfOgiaFerApR3I6y0OU=; b=Qyiox3I4NZrce/GnlsHnmx/p6vPR/XdrYy0sQwp/1vxrp9VdM1/Y98q2bw4h2ndWSU sYE1/rPkXPdEdX6oqNteWW5pfzvjKlOGtKC/FsMl0D5HP4ZN9VXRmlKum2jd1H6qiRYU zP/lhI4EUFp5ufMSYTy7u3cnG5JKbDvifPg5lZ3SRhIydValw8KX8RDahtpD69SRPRNw 8SBjsuk27TxBFHSeZRxikzAPPDZOZYAeBg6S/4NZBMiamLkIF68t525x1UXJLNN3jIRd vPOdqzSRRusczAfqdayB0HNGQ2NBmNI3oXSlTf7RaMofRkZf2qrUDmesdaWqqmaDPV1R CN6A== X-Gm-Message-State: AOAM533kQofhTnbuo49cgqfhEST131OJ7niKeN4fEixDrELCXQ9+hO2q 3hPO4mBmIfFlOA0+Mi4ySOlXmQ== X-Received: by 2002:a05:600c:3646:: with SMTP id y6mr4250718wmq.61.1633091496338; Fri, 01 Oct 2021 05:31:36 -0700 (PDT) Received: from google.com ([95.148.6.233]) by smtp.gmail.com with ESMTPSA id v18sm5429361wml.44.2021.10.01.05.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 05:31:35 -0700 (PDT) Date: Fri, 1 Oct 2021 13:31:33 +0100 From: Lee Jones To: Arnd Bergmann Cc: Saravana Kannan , Olof Johansson , Will McVicker , Krzysztof Kozlowski , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Linus Walleij , Alessandro Zummo , Alexandre Belloni , John Stultz , Thomas Gleixner , Geert Uytterhoeven , "Cc: Android Kernel" , Linux ARM , Linux Kernel Mailing List , linux-samsung-soc , linux-clk , "open list:GPIO SUBSYSTEM" , linux-rtc@vger.kernel.org Subject: Re: [PATCH v2 00/12] arm64: Kconfig: Update ARCH_EXYNOS select configs Message-ID: References: <20210928235635.1348330-1-willmcvicker@google.com> <7766faf8-2dd1-6525-3b9a-8ba790c29cff@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 01 Oct 2021, Arnd Bergmann wrote: > The vmlinux file is clearly too big and includes too much stuff that should > be in loadable modules This for me is the crux of the matter. The ability to replace modules was only brought to light as an "and also, this is possible". However in retrospect, given the attention this has received, it probably shouldn't have even mentioned, as it's not that important. We should focus on the benefits of making parts of the kernel modular if technically possible. The most prominent of those is core binary size, since this has a direct impact on boot-time and RAM usage. Reclaiming dead code after boot is certainly one way to tackle part of the problem. Ensuring that it's not even loaded into RAM in the first place is a better more encompassing solution to both issues IMHO. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog