mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Chengfeng Lin <lin2530632123@gmail.com>
Cc: Dev Jain <dev.jain@arm.com>, Pedro Falcato <pfalcato@suse.de>,
	 Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, "Liam R. Howlett" <liam@infradead.org>,
	 Vlastimil Babka <vbabka@kernel.org>,
	Jann Horn <jannh@google.com>,
	linux-kernel@vger.kernel.org
Subject: Re: mm/mprotect: testing a zero-offset fast path
Date: Mon, 30 Nov 2026 16:48:33 +0000	[thread overview]
Message-ID: <aw2onPsw6K2r6Yfy@gremlin> (raw)
In-Reply-To: <CANGjgdkxcEXQY5ssDB6x9_VFFtYreUJYRz3T1wL63UAiUCMkgA@mail.gmail.com>

On Mon, Nov 30, 2026 at 08:44:45AM -0800, Chengfeng Lin wrote:
> Hi Lorenzo,
>
> Thanks for taking a look. I meant to share a microbenchmark result,
> not submit an RFC or patch. Sorry I didn’t make that clear.
>
> I don’t have evidence that this matters in an application workload,
> and the follow-up test actually showed a slowdown when most offsets
> were nonzero. I agree that these results don’t justify adding the
> branch, so I won’t pursue the change.

Ack OK well I don't want to scare away reasonable discussion either :P

Probably the easiest way to clarify is to prefix [DISCUSSION] to the thread
but I don't think we really have a great convention for this.

Always with this stuff it's a bit of a 'why are we doing X' vs. benefit
trade-off.

But do welcome feedback + discussion, sorry didn't mean to dissuade that :)

--
Cheers, Lorenzo

  reply	other threads:[~2026-11-30 16:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  9:21 Chengfeng Lin
2026-11-30 15:41 ` lin2530632123
2026-11-30 16:08 ` Lorenzo Stoakes (ARM)
2026-11-30 16:44   ` Chengfeng Lin
2026-11-30 16:48     ` Lorenzo Stoakes (ARM) [this message]
2026-11-30 17:13       ` Chengfeng Lin
2026-11-30 18:48 ` Pedro Falcato

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=aw2onPsw6K2r6Yfy@gremlin \
    --to=ljs@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=dev.jain@arm.com \
    --cc=jannh@google.com \
    --cc=liam@infradead.org \
    --cc=lin2530632123@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=pfalcato@suse.de \
    --cc=vbabka@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®