[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <339d27e8-9f34-3e80-2910-46f46d58e9a6@oracle.com>
Date: Fri, 5 Feb 2021 13:53:34 -0800
From: Mike Kravetz <mike.kravetz@...cle.com>
To: Peter Xu <peterx@...hat.com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Cc: Mike Rapoport <rppt@...ux.vnet.ibm.com>,
Jerome Glisse <jglisse@...hat.com>,
"Kirill A . Shutemov" <kirill@...temov.name>,
Hugh Dickins <hughd@...gle.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Matthew Wilcox <willy@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrea Arcangeli <aarcange@...hat.com>,
Nadav Amit <nadav.amit@...il.com>
Subject: Re: [PATCH RFC 00/30] userfaultfd-wp: Support shmem and hugetlbfs
On 1/29/21 2:49 PM, Peter Xu wrote:
> On Fri, Jan 15, 2021 at 12:08:37PM -0500, Peter Xu wrote:
>> This is a RFC series to support userfaultfd upon shmem and hugetlbfs.
...
> Huge & Mike,
>
> Would any of you have comment/concerns on the high-level design of this series?
>
> It would be great to know it, especially major objection, before move on to an
> non-rfc version.
My apologies for not looking at this sooner. Even now, I have only taken
a very brief look at the hugetlbfs patches.
Coincidentally, I am working on the 'BUG' that soft dirty does not work for
hugetlbfs. As you can imagine, there is some overlap in handling of wp ptes
set for soft dirty. In addition, pmd sharing must be disabled for soft dirty
as here and in Axel's uffd minor fault code.
No objections to the overall approach based on my quick look.
I'll try to take a closer look at the areas where efforts overlap.
--
Mike Kravetz
Powered by blists - more mailing lists