[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce32090b-32b3-4d7d-b1c0-dfc7e1c70202@redhat.com>
Date: Mon, 6 Oct 2025 15:38:04 +0200
From: David Hildenbrand <david@...hat.com>
To: Peter Xu <peterx@...hat.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Axel Rasmussen <axelrasmussen@...gle.com>, Vlastimil Babka <vbabka@...e.cz>,
James Houghton <jthoughton@...gle.com>, Nikita Kalyazin
<kalyazin@...zon.com>, Lorenzo Stoakes <lorenzo.stoakes@...cle.com>,
Ujwal Kundur <ujwal.kundur@...il.com>, Mike Rapoport <rppt@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrea Arcangeli <aarcange@...hat.com>,
"Liam R . Howlett" <Liam.Howlett@...cle.com>, Michal Hocko
<mhocko@...e.com>, Muchun Song <muchun.song@...ux.dev>,
Oscar Salvador <osalvador@...e.de>, Hugh Dickins <hughd@...gle.com>,
Suren Baghdasaryan <surenb@...gle.com>
Subject: Re: [PATCH v3 1/4] mm: Introduce vm_uffd_ops API
Hi Peter,
>>
>> Agreed, while making the API cleaner. I don't easily see what's confusing
>> about that, though.
>
> It will introduce another set of userfaultfd features, making it hard to
> say what is the difference between the new set and UFFD_FEATURE_*.
That's why I suggested we use something like "BACKEND" as part of the name.
If we can come up with something better, like talking about capabilities
than features to better distinguish it, even better (UFFD_BACKEND_CAP_*
etc).
>
>>
>> I think it can be done with a handful of LOC and avoid having to use VM_
>> flags in this API.
>
> I waited for a few days, unfortunately we didn't get a second opinion.
>
We are currently in the merge window and many people are either out or
were attending kernel recipes and are on their way back.
I'd suggest waiting a couple of days for more feedback -- right now
there is no need to rush either way, we have the complete development
cycle starting in one week.
--
Cheers
David / dhildenb
Powered by blists - more mailing lists