Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3293916imw; Wed, 6 Jul 2022 22:09:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1toHyEkCwuNvS9adHyJOIpsUyJBei3zwhIKanSnDVZlvr6eoL738yG116bKqFrXY1LRc2g1 X-Received: by 2002:a05:6a00:84d:b0:525:3ce6:9c33 with SMTP id q13-20020a056a00084d00b005253ce69c33mr50075116pfk.47.1657170540938; Wed, 06 Jul 2022 22:09:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657170540; cv=none; d=google.com; s=arc-20160816; b=pIqUjM0j6EA91uk1oTKvH1WieOIucn2RNAwWZnxMq/wectt1B58gIrJyK4PeM/+Voy R+9pF1Xg6t1GOQmM6RgODlBYrLOvhOAoNMvKMU2eg7cOyNdQdGpmTL76xa8eOfzMqImz PWDJrLRPrjjGPJQDnwdkBpdOkDBTdzyEMVs6efZp9AJ1Vzq8frXMTpXwotE5fq4ic5em jrFaXC+5P4JWNUnXdZdGvU+CQWoM5pU5prBSp6wMdnx4x2n8zNSWp/wpzjuFCWvVs1eO X0XENnOaYcYVPWe50qyxXcSBBjYbTg+/uelzM6rK0ieB5UZNds2WBoaFRlNMVPUj/asz CF3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EzYpRzf37ORyGsd++IJccBNmzCts5iwdl84FwWRmBrs=; b=o+TLpOmPNI19OduVe92UTPBRkQGI634XqXLIGEaKhq2VoYoMhSeZvdkPEQY8u7jQzN mlIqt0epMmztIY/LoTBddhiHq4MF2lp89mC436aDbl83x0C2zpipUjZZrq8a8+RExLmC b7Amkb8eiPscUfrj6g8S2xzlRi0AbIJ95t9jigBO6rQuHUXZrXRJyAawky+B4hmu2qa3 n9JlHKAPf7MJGzPQHutXy/h5HOZSEb/NZYT8jyliggqoSty0PIWw6FCl8iaxSTRmKZp7 2sAKrpyzvPiO3kTU3/S+LtUfW8ghH0Vvm3D4xj/WOeMUopkleOaH1/Vq1DN+PQ2rhgHc sAtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tkos.co.il header.s=default header.b=XB8KQuBD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tkos.co.il Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a631c51000000b004088cc23a70si24101470pgm.849.2022.07.06.22.08.49; Wed, 06 Jul 2022 22:09:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tkos.co.il header.s=default header.b=XB8KQuBD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tkos.co.il Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234920AbiGGEpd (ORCPT + 99 others); Thu, 7 Jul 2022 00:45:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234838AbiGGEpT (ORCPT ); Thu, 7 Jul 2022 00:45:19 -0400 Received: from mail.tkos.co.il (golan.tkos.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A44B2F39F; Wed, 6 Jul 2022 21:45:18 -0700 (PDT) Received: from tarshish.tkos.co.il (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 2C552440A8D; Thu, 7 Jul 2022 07:45:04 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1657169104; bh=FGK7QmnEhBmCrN37IDaIYfnjxN45wAQlIljVzSBB5hU=; h=From:To:Cc:Subject:Date:From; b=XB8KQuBDeJYkVZU2hdGcr4RJ2jCICGkl22cEQ0N3dxoz8Lekc/95N0or9DobcNn/h t5zAktu2YqquUGhJ+WahoME2zgkYIo7LxRPvOTZkteRF5bKZ5eReVNhL3TyuiRhKNH TziZwKLgy8xWqSuTjTGLFb2VR/R7QdvjyVaCA+xQ/5A5ZLLf3enMlVce/WC1ZRTgna vKcxQ6QdHarOtoE+tvFeM/uPeHuRO6sZFGh76uBTTh3KBjJOpiuN4A7tja0I+fX/2N kcWwDFHsLuB6ShahEsXBGUQjG99yQhSjdWASLQnVzrgpU4Y4QTdwP+ab1qprE/6FMU 0gqOtGTlciGCA== From: Baruch Siach To: Masahiro Yamada , Michal Marek , Nick Desaulniers Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Baruch Siach Subject: [PATCH] init/Kconfig: update KALLSYMS_ALL help text Date: Thu, 7 Jul 2022 07:43:29 +0300 Message-Id: <1de95f0bf3abc9f6f9ebd96814fab2dae042f410.1657169009.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, 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 CONFIG_KALLSYMS_ALL is required for kernel live patching which is a common use case that is enabled in some major distros. Update the Kconfig help text to reflect that. While at it, s/e.g./i.e./ to match the text intention. Signed-off-by: Baruch Siach --- init/Kconfig | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index c7900e8975f1..20ef72dd6f44 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1722,16 +1722,17 @@ config KALLSYMS_ALL help Normally kallsyms only contains the symbols of functions for nicer OOPS messages and backtraces (i.e., symbols from the text and inittext - sections). This is sufficient for most cases. And only in very rare - cases (e.g., when a debugger is used) all symbols are required (e.g., - names of variables from the data sections, etc). + sections). This is sufficient for most cases. And only if you want to + enable kernel live patching, or other less common use cases (e.g., + when a debugger is used) all symbols are required (i.e., names of + variables from the data sections, etc). This option makes sure that all symbols are loaded into the kernel image (i.e., symbols from all sections) in cost of increased kernel size (depending on the kernel configuration, it may be 300KiB or something like this). - Say N unless you really need all symbols. + Say N unless you really need all symbols, or kernel live patching. config KALLSYMS_ABSOLUTE_PERCPU bool -- 2.35.1