From: Andrey Ryabinin <ryabinin.a.a@gmail.com>
To: Dave Hansen <dave@sr71.net>
Cc: LKML <linux-kernel@vger.kernel.org>,
dave.hansen@linux.intel.com, Dmitry Vyukov <dvyukov@google.com>,
Andi Kleen <andi@firstfloor.org>,
x86@kernel.org, "linux-mm@kvack.org" <linux-mm@kvack.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>
Subject: Re: [PATCH] x86: update memory map about hypervisor-reserved area
Date: Thu, 18 Sep 2014 20:42:10 +0400 [thread overview]
Message-ID: <CAPAsAGzSfW6ba5Bcij_ndVZ7M8fyQGWS7KO76NZDbifRbW-XNg@mail.gmail.com> (raw)
In-Reply-To: <20140918154621.F16A2C86@viggo.jf.intel.com>
2014-09-18 19:46 GMT+04:00 Dave Hansen <dave@sr71.net>:
>
> From: Dave Hansen <dave.hansen@linux.intel.com>
>
> Peter Anvin says:
>> 0xffff880000000000 is the lowest usable address because we have
>> agreed to leave 0xffff800000000000-0xffff880000000000 for the
>> hypervisor or other non-OS uses.
>
> Let's call this out in the documentation.
>
> This came up during the kernel address sanitizer discussions
> where it was proposed to use this area for other kernel things.
>
> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
> Cc: Dmitry Vyukov <dvyukov@google.com>
> Cc: Andi Kleen <andi@firstfloor.org>
> Cc: x86@kernel.org
> Cc: linux-mm@kvack.org
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> ---
>
> b/Documentation/x86/x86_64/mm.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff -puN Documentation/x86/x86_64/mm.txt~update-x86-mm-doc Documentation/x86/x86_64/mm.txt
> --- a/Documentation/x86/x86_64/mm.txt~update-x86-mm-doc 2014-09-17 21:44:10.499781092 -0700
> +++ b/Documentation/x86/x86_64/mm.txt 2014-09-17 21:44:31.852740822 -0700
> @@ -5,7 +5,7 @@ Virtual memory map with 4 level page tab
>
> 0000000000000000 - 00007fffffffffff (=47 bits) user space, different per mm
> hole caused by [48:63] sign extension
> -ffff800000000000 - ffff80ffffffffff (=40 bits) guard hole
> +ffff800000000000 - ffff80ffffffffff (=40 bits) guard hole, reserved for hypervisor
ffff800000000000 - ffff87ffffffffff (=43 bits) guard hole, reserved
for hypervisor
> ffff880000000000 - ffffc7ffffffffff (=64 TB) direct mapping of all phys. memory
> ffffc80000000000 - ffffc8ffffffffff (=40 bits) hole
> ffffc90000000000 - ffffe8ffffffffff (=45 bits) vmalloc/ioremap space
> _
--
Best regards,
Andrey Ryabinin
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2014-09-18 16:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 15:46 Dave Hansen
2014-09-18 16:42 ` Andrey Ryabinin [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=CAPAsAGzSfW6ba5Bcij_ndVZ7M8fyQGWS7KO76NZDbifRbW-XNg@mail.gmail.com \
--to=ryabinin.a.a@gmail.com \
--cc=andi@firstfloor.org \
--cc=dave.hansen@linux.intel.com \
--cc=dave@sr71.net \
--cc=dvyukov@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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