diff options
author | 2025-02-14 11:06:51 +0200 | |
---|---|---|
committer | 2025-02-21 16:05:00 +0100 | |
commit | efe659ac014647eb048d62475e55cce42d8951d7 (patch) | |
tree | 943dca4812ac4dcee6397cd23ac5f826c4cd0f5f /scripts/generate_rust_analyzer.py | |
parent | x86/boot: Split parsing of boot_params into the parse_boot_params() helper function (diff) | |
download | wireguard-linux-efe659ac014647eb048d62475e55cce42d8951d7.tar.xz wireguard-linux-efe659ac014647eb048d62475e55cce42d8951d7.zip |
x86/e820: Drop obsolete E820_TYPE_RESERVED_KERN and related code
E820_TYPE_RESERVED_KERN is a relict from the ancient history that was used
to early reserve setup_data, see:
28bb22379513 ("x86: move reserve_setup_data to setup.c")
Nowadays setup_data is anyway reserved in memblock and there is no point in
carrying E820_TYPE_RESERVED_KERN that behaves exactly like E820_TYPE_RAM
but only complicates the code.
A bonus for removing E820_TYPE_RESERVED_KERN is a small but measurable
speedup of 20 microseconds in init_mem_mappings() on a VM with 32GB or RAM.
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20250214090651.3331663-5-rppt@kernel.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions