[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9e8a9fdc-ca30-4e11-89fa-d18dddccdd31@redhat.com>
Date: Mon, 10 Jun 2024 10:30:41 +0200
From: David Hildenbrand <david@...hat.com>
To: Barry Song <21cnbao@...il.com>, akpm@...ux-foundation.org,
linux-mm@...ck.org
Cc: chrisl@...nel.org, kasong@...cent.com, linux-kernel@...r.kernel.org,
minchan@...nel.org, ryan.roberts@....com, surenb@...gle.com,
v-songbaohua@...o.com, willy@...radead.org
Subject: Re: [PATCH v2 1/2] mm: introduce pmd|pte_needs_soft_dirty_wp helpers
for softdirty write-protect
On 07.06.24 23:13, Barry Song wrote:
> From: Barry Song <v-songbaohua@...o.com>
>
> This patch introduces the pte_needs_soft_dirty_wp and
> pmd_needs_soft_dirty_wp helpers to determine if write protection is
> required for softdirty tracking. This can enhance code readability
> and improve its overall appearance.
> These new helpers are then utilized in gup, huge_memory, and mprotect.
>
> Suggested-by: David Hildenbrand <david@...hat.com>
> Signed-off-by: Barry Song <v-songbaohua@...o.com>
> ---
Acked-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists