From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: Andrew Morton <akpm@linux-foundation.org>,
Borislav Petkov <bp@alien8.de>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>,
linux-mm@kvack.org, "David S. Miller" <davem@davemloft.net>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>,
x86@kernel.org, sparclinux@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] fs/Kconfig: Enable HUGETLBFS only if ARCH_SUPPORTS_HUGETLBFS
Date: Tue, 29 Jul 2025 17:50:00 +0200 [thread overview]
Message-ID: <9e4e4a84-d929-4317-b920-d11f4bee60df@csgroup.eu> (raw)
In-Reply-To: <20250714173109.265d1fbfa9884cd22c3a6975@linux-foundation.org>
Le 15/07/2025 à 02:31, Andrew Morton a écrit :
> On Mon, 14 Jul 2025 11:49:09 +0200 Borislav Petkov <bp@alien8.de> wrote:
>
>> On Mon, Jul 14, 2025 at 08:05:31AM +0530, Anshuman Khandual wrote:
>>> The original first commit had added 'BROKEN', although currently there
>>> are no explanations about it in the tree.
>>
>> commit c0dde7404aff064bff46ae1d5f1584d38e30c3bf
>> Author: Linus Torvalds <torvalds@home.osdl.org>
>> Date: Sun Aug 17 21:23:57 2003 -0700
>>
>> Add CONFIG_BROKEN (default 'n') to hide known-broken drivers.
>
> Thanks. That was unkind of someone. How's this?
>
>
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: init/Kconfig: restore CONFIG_BROKEN help text
> Date: Mon Jul 14 05:20:02 PM PDT 2025
>
> Linus added it in 2003, it later was removed. Put it back.
Was removed by:
commit 3be71ba84f17f39131900f44e8ef513c696a5b11
Author: Linus Torvalds <torvalds@home.osdl.org>
Date: Mon Sep 1 21:30:14 2003 -0700
Instead of asking for "broken drivers", ask for a "clean compile".
This makes "allyesconfig" do a better job.
diff --git a/init/Kconfig b/init/Kconfig
index 3b6e6d580e1d..c296f6bee03c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -32,16 +32,19 @@ config EXPERIMENTAL
you say Y here, you will be offered the choice of using features or
drivers that are currently considered to be in the alpha-test phase.
-config BROKEN
- bool "Prompt for old and known-broken drivers"
- depends on EXPERIMENTAL
- default n
+config CLEAN_COMPILE
+ bool "Don't select drivers known to be broken" if EXPERIMENTAL
+ default y
help
- This option allows you to choose whether you want to try to
- compile (and fix) old drivers that haven't been updated to
- new infrastructure.
+ Select this option if you don't even want to see the option
+ to configure known-broken drivers.
- If unsure, say N.
+ If unsure, say Y
+
+config BROKEN
+ bool
+ depends on !CLEAN_COMPILE
+ default y
config BROKEN_ON_SMP
bool
>
> Cc: Anshuman Khandual <anshuman.khandual@arm.com>
> Cc: Borislav Betkov <bp@alien8.de>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Thomas Gleinxer <tglx@linutronix.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> init/Kconfig | 4 ++++
> 1 file changed, 4 insertions(+)
>
> --- a/init/Kconfig~a
> +++ a/init/Kconfig
> @@ -169,6 +169,10 @@ menu "General setup"
>
> config BROKEN
> bool
> + help
> + This option allows you to choose whether you want to try to
> + compile (and fix) old drivers that haven't been updated to
> + new infrastructure.
>
> config BROKEN_ON_SMP
> bool
> _
>
>
next prev parent reply other threads:[~2025-07-29 16:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-11 10:29 Anshuman Khandual
2025-07-12 23:15 ` Andrew Morton
2025-07-14 2:35 ` Anshuman Khandual
2025-07-14 9:49 ` Borislav Petkov
2025-07-15 0:31 ` Andrew Morton
2025-07-29 15:50 ` Christophe Leroy [this message]
2025-07-29 15:52 ` Christophe Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e4e4a84-d929-4317-b920-d11f4bee60df@csgroup.eu \
--to=christophe.leroy@csgroup.eu \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=bp@alien8.de \
--cc=davem@davemloft.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@redhat.com \
--cc=sparclinux@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®