From: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
To: "Liam R. Howlett" <Liam.Howlett@oracle.com>,
Wei Yang <richard.weiyang@gmail.com>,
akpm@linux-foundation.org, vbabka@suse.cz, jannh@google.com,
linux-mm@kvack.org
Subject: Re: [PATCH 0/3] mm/vma: miss to restore vmi.index on expansion failure
Date: Fri, 25 Oct 2024 21:14:06 +0100 [thread overview]
Message-ID: <1e195467-18f7-45f1-ab38-bec5f3502aea@lucifer.local> (raw)
In-Reply-To: <tl3z6yyxopx4wtzetuhxz75vd2zp5hjtv4ruxo3dewslyjt53k@flfliwgs35l5>
On Fri, Oct 25, 2024 at 04:06:39PM -0400, Liam R. Howlett wrote:
> * Wei Yang <richard.weiyang@gmail.com> [241024 23:18]:
> > This serial starts on spotting on miss to restore vmi.index in
> > vma_merge_new_range() when expansion is failed.
> >
> > Patch 2 add a test to assert this.
> >
> > While found build error on old platform, because parameter name missing. Patch
> > 3 is to fix this.
>
> Just to make sure I understand; this series isn't happening now?
Nope.
I already folded the pertinent bit (me mistakenly doing a pointless compare and
mas->index/end write which later gets overwritten) into the mmap-region series
where we just get rid of this code altogether as it's nnnnnecessary and
horrible.
Great spot from Wei but I think this is the better approach.
>
> Thanks,
> Liam
>
> >
> > Wei Yang (3):
> > mm/vma: miss to restore vmi.index on expansion failure
> > tools: test vmi.index would be restored on merge failure
> > tools: fix build error on parameter name omitted
> >
> > mm/vma.c | 10 ++--
> > tools/testing/vma/vma.c | 8 +++-
> > tools/testing/vma/vma_internal.h | 82 ++++++++++++++++----------------
> > 3 files changed, 55 insertions(+), 45 deletions(-)
> >
> > --
> > 2.34.1
> >
>
prev parent reply other threads:[~2024-10-25 20:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 3:18 Wei Yang
2024-10-25 3:18 ` [PATCH 1/3] " Wei Yang
2024-10-25 7:06 ` Lorenzo Stoakes
2024-10-25 7:43 ` Wei Yang
2024-10-25 7:59 ` Wei Yang
2024-10-25 8:10 ` Lorenzo Stoakes
2024-10-25 8:32 ` Wei Yang
2024-10-25 8:40 ` Lorenzo Stoakes
2024-10-25 8:49 ` Wei Yang
2024-10-25 8:51 ` Lorenzo Stoakes
2024-10-25 8:54 ` Wei Yang
2024-10-25 9:01 ` Lorenzo Stoakes
2024-10-25 9:11 ` Wei Yang
2024-10-25 3:18 ` [PATCH 2/3] tools: test vmi.index would be restored on merge failure Wei Yang
2024-10-25 3:18 ` [PATCH 3/3] tools: fix build error on parameter name omitted Wei Yang
2024-10-25 6:50 ` Lorenzo Stoakes
2024-10-25 20:06 ` [PATCH 0/3] mm/vma: miss to restore vmi.index on expansion failure Liam R. Howlett
2024-10-25 20:14 ` Lorenzo Stoakes [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=1e195467-18f7-45f1-ab38-bec5f3502aea@lucifer.local \
--to=lorenzo.stoakes@oracle.com \
--cc=Liam.Howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=jannh@google.com \
--cc=linux-mm@kvack.org \
--cc=richard.weiyang@gmail.com \
--cc=vbabka@suse.cz \
/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