Commit-ID:  9e1696b792d97b7fea2d650d4d7a42a92e85c4b0
Gitweb:     http://git.kernel.org/tip/9e1696b792d97b7fea2d650d4d7a42a92e85c4b0
Author:     Ingo Molnar <[email protected]>
AuthorDate: Sun, 21 Oct 2012 16:32:33 +0200
Committer:  Ingo Molnar <[email protected]>
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 <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
 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;
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to