From: Ryan Roberts <ryan.roberts@arm.com>
To: Yu Zhao <yuzhao@google.com>, David Hildenbrand <david@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: mm-commits@vger.kernel.org, ziy@nvidia.com, ying.huang@intel.com,
willy@infradead.org, vbabka@suse.cz, shy828301@gmail.com,
rientjes@google.com, mcgrof@kernel.org,
kirill.shutemov@linux.intel.com, jhubbard@nvidia.com,
itaru.kitayama@gmail.com, hughd@google.com,
fengwei.yin@intel.com, catalin.marinas@arm.com,
anshuman.khandual@arm.com
Subject: Re: + mm-non-pmd-mappable-large-folios-for-folio_add_new_anon_rmap.patch added to mm-unstable branch
Date: Fri, 6 Oct 2023 09:53:04 +0100 [thread overview]
Message-ID: <137d2fc4-de8b-4dda-a51d-31ce6b29a3d0@arm.com> (raw)
In-Reply-To: <CAOUHufabXCBdrybKUzYVvHQExocj=XiNT8mYDxejt18vhMYr_A@mail.gmail.com>
On 05/10/2023 20:23, Yu Zhao wrote:
> On Thu, Oct 5, 2023 at 2:12 AM David Hildenbrand <david@redhat.com> wrote:
>>
>> On 29.09.23 21:08, Andrew Morton wrote:
>>>
>>> The patch titled
>>> Subject: mm: non-pmd-mappable, large folios for folio_add_new_anon_rmap()
>>> has been added to the -mm mm-unstable branch. Its filename is
>>> mm-non-pmd-mappable-large-folios-for-folio_add_new_anon_rmap.patch
>>>
>>
>> Andrew, please don't move these patches to stable before we have a
>> couple of acks from people involved in the discussions.
>>
>> I'm confident that we'll get them into 6.8.
>
> I am not :)
I don't find that comment particularly helpful; Are you implying a NAK? If so,
some rationale and actionable suggestions would help.
>
> As I repeated, the priorities seem wrong to me. There are many pending
> work items that don't involve any ABI changes
Are you referring to the prerequisite list [1]? If so, then its my understanding
that these work items are all in progress:
- David is working on "shared vs exclusive mappings"
- Zi Yan has posted an RFC for compaction
- Yin Fengwei's mlock series is now in mm-stable
- Yin Fengwei's madvise series is in 6.6
- I've reworked and posted a series for deferred_split_folio; although I've
deprioritied it because you said it wasn't really a pre-requisite.
- numa balancing depends on David's "shared vs exclusive mappings" work
- I've started looking at "large folios in swap cache" in the background,
because I'm seeing some slow down with large folios, but we also agreed that
wasn't a prerequisite
Or if that's not what you are referring to, then perhaps you are referring to
your comments against v5, which I thought were addressed in v6:
- Removal of the hardcoded order policy [2]; which is removed and replaced by
the flexibility of user-selectable orders (this has proven very useful for
my testing)
, and IMO, we should
> focus on them before we even start discussing ABI changes.
I don't see why the prerequisites can't be done in parallel. I don't see any
dependency between them and the ABI.
>
> I've been quiet because I don't think opinion based discussions are
> essential to nailing down ABIs.
We had 2 mm alignment meetings focussing on this topic, where the resounding
conclusion that I heard was that at minimum, we need a way to enable/disable
this at runtime. I'll admit that what I've posted goes a bit further than that,
but I was hoping we could argue about that in the context of the patch set. But
I definitely think we have moved on from the "we don't need any user ABI for
now" position.
As I suggested, I prefer a Kconfig
> option as the first step so that people can play with it. After we
> have collected field data, then we'd be better at coming up with
> suitable ABIs.
If you want to make it a compile time option only, and use it for testing, then
why do you need it upstream at all? Why not just take the patches and apply
them? Then we could use your data to help guide the upstreaming (I have asked
this before, but never saw a response [3]). Personally though, I would rather
not let perfection get in the way of good enough - I can see real world wins
with this and would prefer to start getting it into mainline incrementally,
sooner rather than later.
Thanks,
Ryan
[1] https://lore.kernel.org/linux-mm/f8d47176-03a8-99bf-a813-b5942830fd73@arm.com/
[2]
https://lore.kernel.org/linux-mm/CAOUHufbUGwc2XvZOBmTCzMsOHxP-eLB60EdysKYzrkRMScOyMg@mail.gmail.com/
[3] https://lore.kernel.org/linux-mm/e80cd2e6-6f7c-4337-a170-152926863290@arm.com/
next prev parent reply other threads:[~2023-10-06 8:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-29 19:08 + mm-non-pmd-mappable-large-folios-for-folio_add_new_anon_rmap.patch added to mm-unstable branch Andrew Morton
2023-10-05 8:12 ` David Hildenbrand
2023-10-05 19:23 ` Yu Zhao
2023-10-06 8:53 ` Ryan Roberts [this message]
2023-10-06 15:24 ` Yu Zhao
2023-10-06 19:08 ` David Hildenbrand
2023-10-09 7:59 ` Ryan Roberts
2023-10-06 19:06 ` David Hildenbrand
-- strict thread matches above, loose matches on Subject: below --
2023-12-07 22:04 Andrew Morton
2023-08-10 16:31 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=137d2fc4-de8b-4dda-a51d-31ce6b29a3d0@arm.com \
--to=ryan.roberts@arm.com \
--cc=akpm@linux-foundation.org \
--cc=anshuman.khandual@arm.com \
--cc=catalin.marinas@arm.com \
--cc=david@redhat.com \
--cc=fengwei.yin@intel.com \
--cc=hughd@google.com \
--cc=itaru.kitayama@gmail.com \
--cc=jhubbard@nvidia.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=rientjes@google.com \
--cc=shy828301@gmail.com \
--cc=vbabka@suse.cz \
--cc=willy@infradead.org \
--cc=ying.huang@intel.com \
--cc=yuzhao@google.com \
--cc=ziy@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).