Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2726674rdb; Mon, 5 Feb 2024 16:14:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWcz6rRTztuBaMh1fmt8H8kbjHQjgwyM/U5YEmXIv/Om66RLxXBJa7PoTRrg29F1dBeJ+D X-Received: by 2002:a17:906:a14c:b0:a37:ff6a:744e with SMTP id bu12-20020a170906a14c00b00a37ff6a744emr347700ejb.25.1707178491336; Mon, 05 Feb 2024 16:14:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707178491; cv=pass; d=google.com; s=arc-20160816; b=I1B/MmGTOZQp643y+/emVdiZWO501cJR/a+1AoAUvPOqDlL2IvQvKABKcXLbfjU40b fhAmmOV+FZ0U1XN5FqyvEmX8T5l2o7mQ3HKUzfYAWUG9vUi5TZTLB1UOXkWHCPjfC+Oo /nSBo6MZgiKvlTKPhrdHYRIMraVlhHoYpW3ynC4/9uwvOVyn9YHr9fztlerM7lqhP3oE lkti8z3kY8cI9+k5SGi5K4sDvOGsHBK6nem8vlXv0k2ETWW5lM4k8D7GZCVN22Gt9rlb 90/JfDVtuP/1OJ11ngK/IBpQeqe2ZJShwJWemwOQiEJ4/Uz5IWtQTBo2i9Sl0ZyM/z1x ENEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sFNpFi093TpETZs6mdYZEjtXAaH8xI625rElwAZwslo=; fh=0tiG/mJUjGNDJpmrBzlKjw+TBgw++bPO5m0TX5G6sjc=; b=Ke6btTpGyC1F7BBUBNypNB6BHLoq6hiP6QNHpk7sScVZ+QUQiQuj3sXFF+OSV7/u0Y wCY081/n8DiFp9weyO16/pkmt2348K3i1r5J/i92SMxr+NPRVmpDEfexdndM6BYgnIbA 8GBjY4Gs5NgntDr+UrblOcrUsc6ltBST/g6cPpjuDYoRhtjacfLIfv8GQ9xbJnUEq+5j QOPja+EwwFbUlsj1Ilr950F3R7YqN41jkqhwwThQv9NE28Wfkx9lncUM6x6p2zHdzmSy gtB9XfBUcyOiegcQHARH4paOZzEy9XPqSJb8izTgDV1pKuvBKAwj3ymMKxX6h4RZOatQ DHcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=rgV6cLJB; arc=pass (i=1 spf=pass spfdomain=smile.fr dkim=pass dkdomain=smile-fr.20230601.gappssmtp.com dmarc=pass fromdomain=smile.fr); spf=pass (google.com: domain of linux-kernel+bounces-54117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54117-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr X-Forwarded-Encrypted: i=1; AJvYcCUYZcaMcU6JtDSfoBXMM/kShDf42SN+yzoy5afMT2D+UkbL9XgeU1MuEWoL8lWvee9KGtkluOekChQ1t66ScXzgEpLNrHSR1jPH1BWTeg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h16-20020a17090634d000b00a37b0d09db6si344759ejb.1054.2024.02.05.16.14.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 16:14:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@smile-fr.20230601.gappssmtp.com header.s=20230601 header.b=rgV6cLJB; arc=pass (i=1 spf=pass spfdomain=smile.fr dkim=pass dkdomain=smile-fr.20230601.gappssmtp.com dmarc=pass fromdomain=smile.fr); spf=pass (google.com: domain of linux-kernel+bounces-54117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54117-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=smile.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DF6771F261A3 for ; Tue, 6 Feb 2024 00:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C50E63D9; Tue, 6 Feb 2024 00:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.b="rgV6cLJB" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C6E333F9 for ; Tue, 6 Feb 2024 00:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707178437; cv=none; b=q0M+pG3gG+nPZltvz3awyn155PTFv41UUmHu3GeNb5ZhV8GCHSjIvu7PVBeECPVkKHL/F8zHc35DPdJ96HiGJMLFC9mP9SYTg6GEDYARwOlp6LYXDSEjXQtMtF3XDLlZzVNrdR4vn+yvf1zypfDicv5qc55rw1BrTWHDxQ0Wa60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707178437; c=relaxed/simple; bh=BvD7KT+7ul13q1wVJvqPxQDUSv1WiR9wKCxQbbEr318=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZnKuDvKPdUdMuoscoEw7bPoWWU6dPtE6Uff1JMDgbqZf6OKWRcG0eX7BKX9VYdKVWrSxMiHoyGXTJnY7zSazUdogylrKLq16wExlMQ+eNc9bv4/ByFlynomMU5/Vt8PrqAVOc5I6BwNohlwas0bKyB7atNuenZSGL7LJMKCuFh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smile.fr; spf=pass smtp.mailfrom=smile.fr; dkim=pass (2048-bit key) header.d=smile-fr.20230601.gappssmtp.com header.i=@smile-fr.20230601.gappssmtp.com header.b=rgV6cLJB; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=smile.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=smile.fr Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40fe2e746bdso229895e9.3 for ; Mon, 05 Feb 2024 16:13:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20230601.gappssmtp.com; s=20230601; t=1707178434; x=1707783234; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sFNpFi093TpETZs6mdYZEjtXAaH8xI625rElwAZwslo=; b=rgV6cLJB9BmJCHfqJ7i6XQ1wFQ3K/bhMQOZuHD0bMnpzwrZjXvrpplDfavsz1jBG1l nhaTW42WP5l5kiUjRYDnpH6iYluRCWnwtZcxSoxyXEuVs6RUBlKVU/uejeApAKpSrhwf bT63NS4n1c8yS+FTqtCrVOpA45xwRGfaCIlJUGpn2QtiyRKb5PWNII7/Em+nzFWBmCIw a5BGFEbIaiKe60WyONXW8QOsisCHHEDgPJgL+1iL2Elx+C7V40f5cCJ3KObisQIy9uZU hHaQ/YT5weS9MjgRdfY+Sf7Ki4iyMViS8GUEx9mgp9zgaRew2T/6g2il60+E+VTKrxNK /GOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707178434; x=1707783234; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sFNpFi093TpETZs6mdYZEjtXAaH8xI625rElwAZwslo=; b=v3WYa77YCa1puTb4R3NwRZtslVrmJwNYjvAqszvRvTY89B7aYhVn8o+oJTV2yioxh/ A2BBudCOb7wjOLiSvYyzsZnRMYszmF3GO49ITLonP4bc0FF+2NLtIbq0lTKxDGDmbjDl KK3bqSHvQXlnw76vnoKAoZz6qvcHIgxVWH46ATgjgR93X8c+OsiGq2hDUYIawvc+IswE 5IVwqOY2s9OIQYFxqw84cPFJB5GfZlO3n+lRCXdLMYLnw7o4LS/FZ3vcKXXcwM5Xiz75 CHgorA66FK/91H1mk5eQWyF9Ak08iYNyp/Md7KA2wCFtTtDy7+WAtKrBkjmcp1tFTmTv pTWw== X-Gm-Message-State: AOJu0Yy1errU+0sHcCKSi9DKFBXHu+fqiWcULCZDqdQ9m51FWe8N06H9 +5yofD3/4zxe304lx9ouNAfOBsQ8obXiBK0I6qKw/pnTFpcPwSK1kN2yvftoquU= X-Received: by 2002:a05:600c:3c8a:b0:40f:de23:b8f3 with SMTP id bg10-20020a05600c3c8a00b0040fde23b8f3mr267229wmb.23.1707178433811; Mon, 05 Feb 2024 16:13:53 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXWwuJ25X3TFhf5cpubZjv3P0jtvVpxgluOyArwnSdlojbnQ4acGDwOCQfPrJE6Ev1XGktp7X3OjOkNEWC2yAp9QZw3MG7u7//ot52N8OQSL6BXaarM6yxmsJrfjFOBI3LuRCJQoLhrF2rRzhxobhoeFmtq3dhpWhv723aainhkH/CRmlvbt/WWnIMyJhu2dHqJPEM7SKlViiT3cT3VWECjVsyvwwQsr0IWdLi60kkUo6P+PpKO3E4VjYcSN4hyazIpoxZyCmXReAaDPECKyQZsEyLNJDNB8dJKgLzM+t5pa9SrRRMYhCwfrxj0yDZesLWim46+bNg+5wgJJsU9kWHgZ4XVQDaGeyYaYmsN8Af4GwvMaVRAukQHsY8dwK7S/lxgFTYSy7mki4cLxPv8tNnKbbbagqoToFaJcAAP4UBOx1MaBxCr8auuEfWN0sSG6BUqCf34j2LCFBtxK/RlrgdH0CJBVnVwRW1V8MaW1H86a1L5177676DURWdKISZO0/jJGyI/khY/ovy6RBZXJUDEVJ6UW2I6Kr2RiAsWiw1N+UADfzIFEVHhwUxh9lNBVRb0gpNjzlTjH1iY8ybmRwcQPK332VQ+XaL9M8yYVZRjK/U/WWgbFVA4u2SlDpSKHLSYAaO0DiNohXVm1fxdHjyKizT+v78PdmWH9Flv891/HffxvBd89gwEerzZVYqpcyK5Osv4DD2lMhkHc7VI1A6U6icC2G1Jo2szIa8SFb5s52iftg/IU9tIE0qAfElAxQS4W8WABNAun8aUexQA4+Q0C4pODpA= Received: from P-ASN-ECS-830T8C3.local ([89.159.1.53]) by smtp.gmail.com with ESMTPSA id b17-20020a5d40d1000000b0033ae7d768b2sm686959wrq.117.2024.02.05.16.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 16:13:53 -0800 (PST) From: Yoann Congal To: linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, x86@kernel.org Cc: =?UTF-8?q?Andr=C3=A9=20Almeida?= , Borislav Petkov , Darren Hart , Dave Hansen , Davidlohr Bueso , Geert Uytterhoeven , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , Jiri Slaby , John Ogness , Josh Triplett , Masahiro Yamada , Matthew Wilcox , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , Willem de Bruijn , Yoann Congal Subject: [PATCH v4 3/3] printk: Remove redundant CONFIG_BASE_FULL Date: Tue, 6 Feb 2024 01:13:33 +0100 Message-Id: <20240206001333.1710070-4-yoann.congal@smile.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240206001333.1710070-1-yoann.congal@smile.fr> References: <20240206001333.1710070-1-yoann.congal@smile.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit CONFIG_BASE_FULL is equivalent to !CONFIG_BASE_SMALL and is enabled by default: CONFIG_BASE_SMALL is the special case to take care of. So, remove CONFIG_BASE_FULL and move the config choice to CONFIG_BASE_SMALL (which defaults to 'n') Signed-off-by: Yoann Congal --- v3->v4: * Split "switch CONFIG_BASE_SMALL to bool" and "Remove the redundant config" (this patch) into two patches * keep CONFIG_BASE_SMALL instead of CONFIG_BASE_FULL --- init/Kconfig | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/init/Kconfig b/init/Kconfig index d4b16cad98502..4ecf2572d00ee 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1581,11 +1581,11 @@ config PCSPKR_PLATFORM This option allows to disable the internal PC-Speaker support, saving some memory. -config BASE_FULL - default y - bool "Enable full-sized data structures for core" if EXPERT +config BASE_SMALL + default n + bool "Enable smaller-sized data structures for core" if EXPERT help - Disabling this option reduces the size of miscellaneous core + Enabling this option reduces the size of miscellaneous core kernel data structures. This saves memory on small machines, but may reduce performance. @@ -1940,11 +1940,6 @@ config RT_MUTEXES bool default y if PREEMPT_RT -config BASE_SMALL - bool - default y if !BASE_FULL - default n - config MODULE_SIG_FORMAT def_bool n select SYSTEM_DATA_VERIFICATION -- 2.39.2