The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Chris Down <chris@chrisdown.name>
To: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>,
	Dmitry Vyukov <dvyukov@google.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	kasan-dev@googlegroups.com, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
	kernel-team@meta.com
Subject: Re: [PATCH] kfence: Allow selecting static keys mode at boot
Date: Sat, 28 Nov 2026 10:22:48 -0800	[thread overview]
Message-ID: <awsb-F0cUJ5fIP2V@chrisdown.name> (raw)
In-Reply-To: <CANpmjNNwaeFmVxfPsvdVSc33_DoF_Gcz9DpjGWf6PLD_GZwAyw@mail.gmail.com>

Hi Marco,

Marco Elver writes:
>While eventual deletion would be my preference, what you say here
>doesn't make sense. "One kernel across the fleet" does not necessitate
>deleting this Kconfig option from the upstream kernel. You control
>your .config, and the Kconfig option is default-off nor is anyone
>forced to enable it.

Sorry, I think I wasn't clear, I wasn't suggesting that we delete it
upstream :-) My point was that we want one kernel across the fleet, and
turning the option off in our own config gets us there.

>An intermediate step would be to e.g. not make
>CONFIG_KFENCE_STATIC_KEYS selectable on certain architectures where we
>are sure it causes more problems (global IPIs on systems with 100s of
>CPUs) than performance improvements. We could do that for x86, and I'd
>Ack that right away.

Sounds good to me. I'll send a v2 which does that for x86 and leaves the
other architectures alone.

Thanks!

Chris

      reply	other threads:[~2026-11-28 18:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27  5:48 [PATCH] kfence: Allow selecting static keys mode at boot Chris Down
2026-10-27  8:31 ` Marco Elver
2026-11-14 23:02   ` Chris Down
2026-11-16  7:00     ` Marco Elver
2026-11-28 18:22       ` Chris Down [this message]

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=awsb-F0cUJ5fIP2V@chrisdown.name \
    --to=chris@chrisdown.name \
    --cc=akpm@linux-foundation.org \
    --cc=corbet@lwn.net \
    --cc=dvyukov@google.com \
    --cc=elver@google.com \
    --cc=glider@google.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=kernel-team@meta.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rdunlap@infradead.org \
    --cc=skhan@linuxfoundation.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