[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y1b6ibUpZee/4Hed@monkey>
Date: Mon, 24 Oct 2022 13:50:17 -0700
From: Mike Kravetz <mike.kravetz@...cle.com>
To: Peter Xu <peterx@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>,
Muchun Song <songmuchun@...edance.com>
Subject: Re: [PATCH] mm/hugetlb: Unify clearing of RestoreReserve for private
pages
On 10/20/22 15:38, Peter Xu wrote:
> A trivial cleanup to move clearing of RestoreReserve into adding anon rmap
> of private hugetlb mappings. It matches with the shared mappings where we
> only clear the bit when adding into page cache, rather than spreading it
> around the code paths.
>
> Cc: Mike Kravetz <mike.kravetz@...cle.com>
> Signed-off-by: Peter Xu <peterx@...hat.com>
> ---
> mm/hugetlb.c | 14 ++++----------
> mm/rmap.c | 2 +-
> 2 files changed, 5 insertions(+), 11 deletions(-)
Thanks Peter!
Reviewed-by: Mike Kravetz <mike.kravetz@...cle.com>
--
Mike Kravetz
Powered by blists - more mailing lists