[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241018174114.2871880-1-Liam.Howlett@oracle.com>
Date: Fri, 18 Oct 2024 13:41:12 -0400
From: "Liam R. Howlett" <Liam.Howlett@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
Jann Horn <jannh@...gle.com>, David Hildenbrand <david@...hat.com>,
Qi Zheng <zhengqi.arch@...edance.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Jeff Xu <jeffxu@...omium.org>, Pedro Falcato <pedro.falcato@...il.com>,
"Liam R. Howlett" <Liam.Howlett@...cle.com>
Subject: [PATCH v2 0/2] mm/mremap: Remove extra vma tree walk
An extra vma tree walk was discovered in some mremap call paths during
the discussion on mseal() changes. This patch set removes the extra vma
tree walk and further cleans up mremap_to().
v1: https://lore.kernel.org/all/20241016201719.2449143-1-Liam.Howlett@oracle.com/
Changes since v1:
Change mremap_vma_check() to resize_is_valid() - Thanks Jeff & Andrew
Fixed missing return check - Thanks Andrew
Added comments to both functions that are touched - Thanks Andrew
Liam R. Howlett (2):
mm/mremap: Clean up vma_to_resize()
mm/mremap: Remove goto from mremap_to()
mm/mremap.c | 93 +++++++++++++++++++++++++++++++----------------------
1 file changed, 55 insertions(+), 38 deletions(-)
--
2.43.0
Powered by blists - more mailing lists