Re: [PATCH] mm/hugetlb: Unify clearing of RestoreReserve for private pages

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

 



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@xxxxxxxxxx>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
> ---
>  mm/hugetlb.c | 14 ++++----------
>  mm/rmap.c    |  2 +-
>  2 files changed, 5 insertions(+), 11 deletions(-)

Thanks Peter!

Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
-- 
Mike Kravetz




[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