All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: Suren Baghdasaryan <surenb@google.com>
Cc: Pedro Falcato <pfalcato@suse.de>, Ingo Molnar <mingo@redhat.com>,
	 Peter Zijlstra <peterz@infradead.org>,
	Juri Lelli <juri.lelli@redhat.com>,
	 Vincent Guittot <vincent.guittot@linaro.org>,
	Dietmar Eggemann <dietmar.eggemann@arm.com>,
	 Steven Rostedt <rostedt@goodmis.org>,
	Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
	 Valentin Schneider <vschneid@redhat.com>,
	K Prateek Nayak <kprateek.nayak@amd.com>,
	 Kees Cook <kees@kernel.org>,
	David Hildenbrand <david@kernel.org>,
	 "Liam R. Howlett" <liam@infradead.org>,
	Vlastimil Babka <vbabka@kernel.org>,
	 Mike Rapoport <rppt@kernel.org>, Michal Hocko <mhocko@suse.com>,
	 Andrew Morton <akpm@linux-foundation.org>,
	Shakeel Butt <shakeel.butt@linux.dev>,
	 Jann Horn <jannh@google.com>,
	Puranjay Mohan <puranjay@kernel.org>,
	 Alexei Starovoitov <ast@kernel.org>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	 bpf@vger.kernel.org, Chris Mason <mason@kernel.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH] mm/vma: drop mm asynchronously in vma_start_read()
Date: Tue, 24 Nov 2026 15:56:40 +0000	[thread overview]
Message-ID: <awWxsn2c1xR_JiEs@gremlin> (raw)
In-Reply-To: <CAJuCfpGk6eYK43Unxo+O4ML5=GM_siZ9owp6oa9fO0ipZXVg-g@mail.gmail.com>

On Tue, Nov 24, 2026 at 07:46:04AM -0800, Suren Baghdasaryan wrote:
> On Tue, Nov 24, 2026 at 5:04 AM Pedro Falcato <pfalcato@suse.de> wrote:
> > Is there any particular reason for unlocking the RCU comment last? after the mmdrop_async().
>
> Yeah, I think moving the RCU unlocking was unnecessary (unlock as soon
> as possible is in general advisable) and we could just remove the
> comment. Both versions however seem correct to me.

For simplicity. 'The operation is done under an RCU lock' :)

I alluded above, but intent is to revert 0b16f8bed19c which I _think_ is
fine. And at that point it actively simplifies.

The operations done there are only done in a rare scenario (VMA recycled) and
now the extra bits done under RCU there are really quite small so I think fine.

I will follow up on that later.

> > Acked-by: Pedro Falcato <pfalcato@suse.de>
>
> Reviewed-by: Suren Baghdasaryan <surenb@google.com>

Thanks x2!

>
> >
> > --
> > Pedro

--
Cheers, Lorenzo


  parent reply	other threads:[~2026-11-24 15:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 12:26 [PATCH] mm/vma: drop mm asynchronously in vma_start_read() Lorenzo Stoakes (ARM)
2026-11-24 13:04 ` Pedro Falcato
2026-11-24 15:46   ` Suren Baghdasaryan
2026-11-24 15:51     ` Suren Baghdasaryan
2026-11-24 15:58       ` Lorenzo Stoakes (ARM)
2026-11-24 16:05         ` Puranjay Mohan
2026-11-24 16:34           ` Suren Baghdasaryan
2026-11-24 17:23             ` Lorenzo Stoakes (ARM)
2026-11-24 17:33               ` Andrew Morton
2026-11-24 17:49                 ` Suren Baghdasaryan
2026-11-24 18:35                   ` Vlastimil Babka (SUSE)
2026-11-24 18:51                     ` Lorenzo Stoakes (ARM)
2026-12-02  3:44                   ` [folded-merged] mm-vma-drop-mm-asynchronously-in-vma_start_read-fix-2.patch removed from -mm tree Andrew Morton
2026-11-24 17:33               ` + mm-vma-drop-mm-asynchronously-in-vma_start_read-fix.patch added to mm-hotfixes-unstable branch Andrew Morton
2026-12-02  3:43               ` [folded-merged] mm-vma-drop-mm-asynchronously-in-vma_start_read-fix.patch removed from -mm tree Andrew Morton
2026-11-24 15:56     ` Lorenzo Stoakes (ARM) [this message]
2026-11-24 17:13 ` + mm-vma-drop-mm-asynchronously-in-vma_start_read.patch added to mm-hotfixes-unstable branch Andrew Morton
2026-11-24 18:37 ` [PATCH] mm/vma: drop mm asynchronously in vma_start_read() Vlastimil Babka (SUSE)
2026-12-02  3:47 ` [merged mm-hotfixes-stable] mm-vma-drop-mm-asynchronously-in-vma_start_read.patch removed from -mm tree Andrew Morton

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=awWxsn2c1xR_JiEs@gremlin \
    --to=ljs@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=bsegall@google.com \
    --cc=david@kernel.org \
    --cc=dietmar.eggemann@arm.com \
    --cc=jannh@google.com \
    --cc=juri.lelli@redhat.com \
    --cc=kees@kernel.org \
    --cc=kprateek.nayak@amd.com \
    --cc=liam@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mason@kernel.org \
    --cc=mgorman@suse.de \
    --cc=mhocko@suse.com \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=pfalcato@suse.de \
    --cc=puranjay@kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=rppt@kernel.org \
    --cc=shakeel.butt@linux.dev \
    --cc=stable@vger.kernel.org \
    --cc=surenb@google.com \
    --cc=vbabka@kernel.org \
    --cc=vincent.guittot@linaro.org \
    --cc=vschneid@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.