From: tip-bot for Yinghai Lu <yinghai@kernel.org>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
yinghai@kernel.org, jacob.shin@amd.com, tglx@linutronix.de,
hpa@linux.intel.com
Subject: [tip:x86/urgent] x86, mm: Undo incorrect revert in arch/x86/mm/ init.c
Date: Thu, 25 Oct 2012 16:31:18 -0700 [thread overview]
Message-ID: <tip-f82f64dd9f485e13f29f369772d4a0e868e5633a@git.kernel.org> (raw)
In-Reply-To: <CAE9FiQW_vuaYQbmagVnxT2DGsYc=9tNeAbdBq53sYkitPOwxSQ@mail.gmail.com>
Commit-ID: f82f64dd9f485e13f29f369772d4a0e868e5633a
Gitweb: http://git.kernel.org/tip/f82f64dd9f485e13f29f369772d4a0e868e5633a
Author: Yinghai Lu <yinghai@kernel.org>
AuthorDate: Thu, 25 Oct 2012 15:45:26 -0700
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 25 Oct 2012 15:45:45 -0700
x86, mm: Undo incorrect revert in arch/x86/mm/init.c
Commit
844ab6f9 x86, mm: Find_early_table_space based on ranges that are actually being mapped
added back some lines back wrongly that has been removed in commit
7b16bbf97 Revert "x86/mm: Fix the size calculation of mapping tables"
remove them again.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/CAE9FiQW_vuaYQbmagVnxT2DGsYc=9tNeAbdBq53sYkitPOwxSQ@mail.gmail.com
Acked-by: Jacob Shin <jacob.shin@amd.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
arch/x86/mm/init.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index bc287d6..d7aea41 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -65,10 +65,6 @@ static void __init find_early_table_space(struct map_range *mr, int nr_range)
#ifdef CONFIG_X86_32
extra += PMD_SIZE;
#endif
- /* The first 2/4M doesn't use large pages. */
- if (mr[i].start < PMD_SIZE)
- extra += range;
-
ptes += (extra + PAGE_SIZE - 1) >> PAGE_SHIFT;
} else {
ptes += (range + PAGE_SIZE - 1) >> PAGE_SHIFT;
next prev parent reply other threads:[~2012-10-25 23:31 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <903a3ead-98b5-4afa-88a4-3dc723895e82@blur>
[not found] ` <d556fc0f-da5d-4531-b331-6dc086461f34@blur>
2012-10-21 0:17 ` BUG: 1bbbbe7 (x86: Exclude E820_RESERVED regions...) PANIC on boot Tom Rini
2012-10-21 4:01 ` Yinghai Lu
2012-10-21 4:18 ` Jacob Shin
2012-10-21 17:51 ` Tom Rini
2012-10-21 21:06 ` Jacob Shin
2012-10-21 21:23 ` Tom Rini
2012-10-22 14:40 ` Jacob Shin
2012-10-22 18:05 ` Yinghai Lu
2012-10-22 18:38 ` Jacob Shin
2012-10-22 19:46 ` Yinghai Lu
2012-10-22 20:26 ` H. Peter Anvin
2012-10-22 20:50 ` Yinghai Lu
2012-10-22 20:52 ` H. Peter Anvin
2012-10-22 21:25 ` Yinghai Lu
2012-10-22 21:27 ` H. Peter Anvin
2012-10-22 23:35 ` Yinghai Lu
2012-10-24 16:48 ` Jacob Shin
2012-10-24 18:53 ` H. Peter Anvin
2012-10-24 19:53 ` Jacob Shin
2012-10-24 21:49 ` [tip:x86/urgent] x86, mm: Find_early_table_space based on ranges that are actually being mapped tip-bot for Jacob Shin
2012-10-25 6:42 ` Yinghai Lu
2012-10-25 7:55 ` Ingo Molnar
2012-10-25 14:33 ` Yinghai Lu
2012-10-25 22:23 ` Jacob Shin
2012-10-25 23:31 ` tip-bot for Yinghai Lu [this message]
2012-10-24 19:01 ` [tip:x86/urgent] x86, mm: Trim memory in memblock to be page aligned tip-bot for Yinghai Lu
2012-10-24 19:02 ` [tip:x86/urgent] x86, mm: Use memblock memory loop instead of e820_RAM tip-bot for Yinghai Lu
2012-10-22 21:00 ` BUG: 1bbbbe7 (x86: Exclude E820_RESERVED regions...) PANIC on boot H. Peter Anvin
2012-10-22 21:06 ` Yinghai Lu
2012-10-28 20:48 ` Tom Rini
2012-10-21 17:52 ` Tom Rini
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-f82f64dd9f485e13f29f369772d4a0e868e5633a@git.kernel.org \
--to=yinghai@kernel.org \
--cc=hpa@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jacob.shin@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.