[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250415001228.120684-1-sj@kernel.org>
Date: Mon, 14 Apr 2025 17:12:28 -0700
From: SeongJae Park <sj@...nel.org>
To: Gregory Price <gourry@...rry.net>
Cc: SeongJae Park <sj@...nel.org>,
linux-mm@...ck.org,
cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org,
kernel-team@...a.com,
akpm@...ux-foundation.org,
mingo@...hat.com,
peterz@...radead.org,
juri.lelli@...hat.com,
vincent.guittot@...aro.org,
hannes@...xchg.org,
mhocko@...nel.org,
roman.gushchin@...ux.dev,
shakeel.butt@...ux.dev,
donettom@...ux.ibm.com
Subject: Re: [RFC PATCH v4 1/6] migrate: Allow migrate_misplaced_folio_prepare() to accept a NULL VMA.
On Fri, 11 Apr 2025 18:11:06 -0400 Gregory Price <gourry@...rry.net> wrote:
> migrate_misplaced_folio_prepare() may be called on a folio without
> a VMA, and so it must be made to accept a NULL VMA.
The comment of the function says "Must be called with the PTL still held". I
understand it is not needed for NULL VMA case because it is for unmapped
folios? If I'm understanding correctly, could you please also clarify such
details including when NULL VMA case happens and if locking requirement is
changed, on the comment?
Thanks,
SJ
[...]
Powered by blists - more mailing lists