Messages in this thread | | | From | Łukasz Stelmach <> | Subject | [PATCH v2 0/2] Make memory size reporting in kexec_file_load() accurate | Date | Thu, 30 Apr 2020 18:31:40 +0200 |
| |
Calling kexec_add_buffer() page-alligns the value of kbuf.memsz, so it is not same as the requested value. Hence both bufsz and memsz should after kexec_add_buffer() is called should be be reported separately.
Łukasz Stelmach (2): arm64: kexec_file: print appropriate variable x86: kexec_file: print appropriate variable
arch/arm64/kernel/machine_kexec_file.c | 6 +++--- arch/x86/kernel/crash.c | 2 +- arch/x86/kernel/kexec-bzimage64.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
-- 2.25.0
| |