From: "H. Peter Anvin" <hpa@zytor.com>
To: Yinghai Lu <yinghai@kernel.org>
Cc: zhenzhong.duan@oracle.com, Takashi Iwai <tiwai@suse.de>,
Linus Torvalds <torvalds@linux-foundation.org>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
stable@vger.kernel.org, linux-kernel@vger.kernel.org,
konrad.wilk@oracle.com, joe.jin@oracle.com,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>
Subject: Re: [PATCH] Initialize max_pfn_mapped as initial ident mapping size for x86_64
Date: Mon, 05 Mar 2012 23:00:07 -0800 [thread overview]
Message-ID: <4F55B5F7.6060502@zytor.com> (raw)
In-Reply-To: <CAE9FiQVU8fafCEZrRPADMYubvncxT+0FGdWVPuu0M=O8NYaCYw@mail.gmail.com>
On 03/05/2012 10:27 PM, Yinghai Lu wrote:
>
>>
>> The early mapping range we can fix, and probably should. Mapping the
>> first 4 GiB is not a lot of memory and makes a much more sensible
>> starting point.
>
> do you mean map the 4G in head_64.S?
>
Yes. It would be better to design the mapping system so that it would
incrementally map everything we need (with page tables allocated out of
the memory already mapped), but that isn't a trivial exercise,
especially with the need to avoid the initramfs, kernel image and
command line and other data elements.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
prev parent reply other threads:[~2012-03-06 7:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1330669703-20176-1-git-send-email-zhenzhong.duan@oracle.com>
2012-03-06 1:35 ` [PATCH] Initialize max_pfn_mapped as initial ident mapping size for x86_64 Yinghai Lu
2012-03-06 1:49 ` H. Peter Anvin
2012-03-06 6:27 ` Yinghai Lu
2012-03-06 7:00 ` H. Peter Anvin [this message]
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=4F55B5F7.6060502@zytor.com \
--to=hpa@zytor.com \
--cc=joe.jin@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rjw@sisk.pl \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=tiwai@suse.de \
--cc=torvalds@linux-foundation.org \
--cc=yinghai@kernel.org \
--cc=zhenzhong.duan@oracle.com \
/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;
as well as URLs for NNTP newsgroup(s).