mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [merged] vmscan-split-file-huge-pages-before-paging-them-out.patch removed from -mm tree
@ 2016-07-27 19:02 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-07-27 19:02 UTC (permalink / raw)
  To: kirill.shutemov, mm-commits


The patch titled
     Subject: vmscan: split file huge pages before paging them out
has been removed from the -mm tree.  Its filename was
     vmscan-split-file-huge-pages-before-paging-them-out.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: vmscan: split file huge pages before paging them out

This is preparation of vmscan for file huge pages. We cannot write out
huge pages, so we need to split them on the way out.

Link: http://lkml.kernel.org/r/1466021202-61880-22-git-send-email-kirill.shutemov@linux.intel.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/vmscan.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff -puN mm/vmscan.c~vmscan-split-file-huge-pages-before-paging-them-out mm/vmscan.c
--- a/mm/vmscan.c~vmscan-split-file-huge-pages-before-paging-them-out
+++ a/mm/vmscan.c
@@ -1055,8 +1055,14 @@ static unsigned long shrink_page_list(st
 
 			/* Adding to swap updated mapping */
 			mapping = page_mapping(page);
+		} else if (unlikely(PageTransHuge(page))) {
+			/* Split file THP */
+			if (split_huge_page_to_list(page, page_list))
+				goto keep_locked;
 		}
 
+		VM_BUG_ON_PAGE(PageTransHuge(page), page);
+
 		/*
 		 * The page is mapped into the page tables of one or more
 		 * processes. Try to unmap it here.
_

Patches currently in -mm which might be from kirill.shutemov@linux.intel.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-27 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-27 19:02 [merged] vmscan-split-file-huge-pages-before-paging-them-out.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).