Re: [PATCH] mm, thp: fix leaking mapped pte in __collapse_huge_page_swapin()

From: Rik van Riel
Date: Fri Sep 02 2016 - 09:52:48 EST


On Fri, 2016-09-02 at 15:44 +0300, Ebru Akagunduz wrote:
> Currently, khugepaged does not let swapin, if there is no
> enough young pages in a THP. The problem is when a THP does
> not have enough young page, khugepaged leaks mapped ptes.
>
> This patch prohibits leaking mapped ptes.
>
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@xxxxxxxxx>
> Suggested-by: Andrea Arcangeli <aarcange@xxxxxxxxxx>
>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--

All Rights Reversed.

Attachment: signature.asc
Description: This is a digitally signed message part