2018-04-02 12:12:02

by Kirill A. Shutemov

[permalink] [raw]
Subject: [PATCH] x86/mm: Fix documentation of module mapping with 4-level paging

f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000") changed
MODULES_END back to fixed value, but didn't update documentation of
memory layout for 4-level paging.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Fixes: f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000")
Cc: Andrey Ryabinin <[email protected]>
---
Documentation/x86/x86_64/mm.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
index ea91cb61a602..5432a96d31ff 100644
--- a/Documentation/x86/x86_64/mm.txt
+++ b/Documentation/x86/x86_64/mm.txt
@@ -20,7 +20,7 @@ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space
... unused hole ...
ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0
-ffffffffa0000000 - [fixmap start] (~1526 MB) module mapping space (variable)
+ffffffffa0000000 - fffffffffeffffff (1520 MB) module mapping space
[fixmap start] - ffffffffff5fffff kernel-internal fixmap range
ffffffffff600000 - ffffffffff600fff (=4 kB) legacy vsyscall ABI
ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole
--
2.16.2



2018-04-02 16:59:18

by Andrey Ryabinin

[permalink] [raw]
Subject: Re: [PATCH] x86/mm: Fix documentation of module mapping with 4-level paging



On 04/02/2018 03:10 PM, Kirill A. Shutemov wrote:
> f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000") changed
> MODULES_END back to fixed value, but didn't update documentation of
> memory layout for 4-level paging.
>
> Signed-off-by: Kirill A. Shutemov <[email protected]>
> Fixes: f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000")
> Cc: Andrey Ryabinin <[email protected]>
> ---

Acked-by: Andrey Ryabinin <[email protected]>

> Documentation/x86/x86_64/mm.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
> index ea91cb61a602..5432a96d31ff 100644
> --- a/Documentation/x86/x86_64/mm.txt
> +++ b/Documentation/x86/x86_64/mm.txt
> @@ -20,7 +20,7 @@ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
> ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space
> ... unused hole ...
> ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0
> -ffffffffa0000000 - [fixmap start] (~1526 MB) module mapping space (variable)
> +ffffffffa0000000 - fffffffffeffffff (1520 MB) module mapping space
> [fixmap start] - ffffffffff5fffff kernel-internal fixmap range
> ffffffffff600000 - ffffffffff600fff (=4 kB) legacy vsyscall ABI
> ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole
>

Subject: [tip:x86/urgent] x86/mm: Fix documentation of module mapping range with 4-level paging

Commit-ID: 9a3b7e5e65c4b4d332df5f607c0838c3fb918673
Gitweb: https://git.kernel.org/tip/9a3b7e5e65c4b4d332df5f607c0838c3fb918673
Author: Kirill A. Shutemov <[email protected]>
AuthorDate: Mon, 2 Apr 2018 15:10:25 +0300
Committer: Ingo Molnar <[email protected]>
CommitDate: Tue, 3 Apr 2018 12:59:02 +0200

x86/mm: Fix documentation of module mapping range with 4-level paging

Commit:

f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000")

changed MODULES_END back to a fixed value, but didn't update the documentation
of memory layout for 4-level paging.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Acked-by: Andrey Ryabinin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
Documentation/x86/x86_64/mm.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt
index ea91cb61a602..5432a96d31ff 100644
--- a/Documentation/x86/x86_64/mm.txt
+++ b/Documentation/x86/x86_64/mm.txt
@@ -20,7 +20,7 @@ ffffff0000000000 - ffffff7fffffffff (=39 bits) %esp fixup stacks
ffffffef00000000 - fffffffeffffffff (=64 GB) EFI region mapping space
... unused hole ...
ffffffff80000000 - ffffffff9fffffff (=512 MB) kernel text mapping, from phys 0
-ffffffffa0000000 - [fixmap start] (~1526 MB) module mapping space (variable)
+ffffffffa0000000 - fffffffffeffffff (1520 MB) module mapping space
[fixmap start] - ffffffffff5fffff kernel-internal fixmap range
ffffffffff600000 - ffffffffff600fff (=4 kB) legacy vsyscall ABI
ffffffffffe00000 - ffffffffffffffff (=2 MB) unused hole