diff options
author | Ebru Akagunduz | 2016-09-19 14:44:04 -0700 |
---|---|---|
committer | Linus Torvalds | 2016-09-19 15:36:16 -0700 |
commit | 982785c6b05a82c01e90687b7e25ee87c8970b2e (patch) | |
tree | d855120e0185c802dcb3c222fc94abe31a279b3c /Documentation/netlabel | |
parent | c131f751ab1a852d4dd4b490b3a7fbba7d738de5 (diff) |
mm, thp: fix leaking mapped pte in __collapse_huge_page_swapin()
Currently, khugepaged does not permit swapin if there are enough young
pages in a THP. The problem is when a THP does not have enough young
pages, khugepaged leaks mapped ptes.
This patch prohibits leaking mapped ptes.
Link: http://lkml.kernel.org/r/1472820276-7831-1-git-send-email-ebru.akagunduz@gmail.com
Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Suggested-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/netlabel')
0 files changed, 0 insertions, 0 deletions