From: tip-bot for Ingo Molnar <mingo@kernel.org>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, riel@redhat.com, hpa@zytor.com,
mingo@kernel.org, tglx@linutronix.de
Subject: [tip:numa/core] numa, mm: Remove paranoia checks from do_huge_pmd_numa_page()
Date: Sun, 21 Oct 2012 08:21:13 -0700 [thread overview]
Message-ID: <tip-9e1696b792d97b7fea2d650d4d7a42a92e85c4b0@git.kernel.org> (raw)
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;
reply other threads:[~2012-10-21 15:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-9e1696b792d97b7fea2d650d4d7a42a92e85c4b0@git.kernel.org \
--to=mingo@kernel.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=riel@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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