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

From: Andrey Ryabinin
Date: Mon Apr 02 2018 - 12:57:52 EST




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 <kirill.shutemov@xxxxxxxxxxxxxxx>
> Fixes: f5a40711fa58 ("x86/mm: Set MODULES_END to 0xffffffffff000000")
> Cc: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
> ---

Acked-by: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>

> 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
>