Re: [PATCH v2] mm/uffd: UFFD_FEATURE_WP_UNPOPULATED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02.03.23 14:57, Peter Xu wrote:
On Thu, Mar 02, 2023 at 10:37:44AM +0100, David Hildenbrand wrote:
Especially for such large sparse VMAs, the current way of allocating
pagetables to place markers/zeropages is far from optimal.

IMHO that's not a generic workload.  As mentioned in the reply there, I
would suggest we go with simple then we have space to optimize it in the
future if necessary, because the API will be the same.


I disagree with "generic workload", we use sparse mmaps all over the place, and when blindly used by e.g., CRIU, we'll simply end up wasting memory and time.

But I already agreed that this optimization that is a separate thing to implement.

--
Thanks,

David / dhildenb





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux