mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:numa/core] numa, mm: Remove paranoia checks from do_huge_pmd_numa_page()
@ 2012-10-21 15:21 tip-bot for Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: tip-bot for Ingo Molnar @ 2012-10-21 15:21 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, riel, hpa, mingo, tglx

Commit-ID:  9e1696b792d97b7fea2d650d4d7a42a92e85c4b0
Gitweb:     http://git.kernel.org/tip/9e1696b792d97b7fea2d650d4d7a42a92e85c4b0
Author:     Ingo Molnar <mingo@kernel.org>
AuthorDate: Sun, 21 Oct 2012 16:32:33 +0200
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Sun, 21 Oct 2012 16:32:33 +0200

numa, mm: Remove paranoia checks from do_huge_pmd_numa_page()

Remove a couple of debugging checks from do_huge_pmd_numa_page().

Cc: Rik van Riel <riel@redhat.com>
Cc: aarcange@redhat.com
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/n/tip-nhyrhlt42RlghgatXyughvyi@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 mm/huge_memory.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index a8f6531..5aa935a 100644
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -782,10 +782,6 @@ unlock:
 	return;
 
 migrate:
-	WARN_ON(!(((unsigned long)page->mapping & PAGE_MAPPING_ANON)));
-	WARN_ON((((unsigned long)page->mapping & PAGE_MAPPING_KSM)));
-	BUG_ON(PageSwapCache(page));
-
 	spin_unlock(&mm->page_table_lock);
 
 	lock_page(page);
@@ -802,8 +798,6 @@ migrate:
 	    (GFP_TRANSHUGE | GFP_THISNODE) & ~__GFP_WAIT,
 	    HPAGE_PMD_ORDER);
 
-	WARN_ON(PageLRU(new_page));
-
 	if (!new_page)
 		goto alloc_fail;
 

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

only message in thread, other threads:[~2012-10-21 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-21 15:21 [tip:numa/core] numa, mm: Remove paranoia checks from do_huge_pmd_numa_page() tip-bot for Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome