Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1450272 > unrolled thread

[PATCHv1, RFC 11/33] thp: allow splitting non-shmem file-backed THPs

Started by"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
First post2016-07-26 02:40 +0200
Last post2016-07-26 02:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCHv1, RFC 11/33] thp: allow splitting non-shmem file-backed THPs "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-07-26 02:40 +0200

#1450272 — [PATCHv1, RFC 11/33] thp: allow splitting non-shmem file-backed THPs

From"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Date2016-07-26 02:40 +0200
Subject[PATCHv1, RFC 11/33] thp: allow splitting non-shmem file-backed THPs
Message-ID<rYYzD-3py-25@gated-at.bofh.it>
split_huge_page() is ready to handle file-backed huge pages, we only
need to remove one guarding VM_BUG_ON_PAGE().

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
---
 mm/huge_memory.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index c1444a99a583..7f1271c38cb9 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -2004,7 +2004,6 @@ int split_huge_page_to_list(struct page *page, struct list_head *list)
 
 	VM_BUG_ON_PAGE(is_huge_zero_page(page), page);
 	VM_BUG_ON_PAGE(!PageLocked(page), page);
-	VM_BUG_ON_PAGE(!PageSwapBacked(page), page);
 	VM_BUG_ON_PAGE(!PageCompound(page), page);
 
 	if (PageAnon(head)) {
-- 
2.8.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web