From efca05304563b0744a329289fdc03ad643987a5b Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Wed, 29 Dec 2021 17:49:27 +0800 Subject: [PATCH] modify the patch header --- kexec-Add-quick-kexec-support.patch | 19 +++++++++++++++---- kexec-tools.spec | 5 ++++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/kexec-Add-quick-kexec-support.patch b/kexec-Add-quick-kexec-support.patch index 8487dd3..4bee590 100644 --- a/kexec-Add-quick-kexec-support.patch +++ b/kexec-Add-quick-kexec-support.patch @@ -1,8 +1,19 @@ -From e841cb419d74adbda7116a6b11b5fcaeba0dc274 Mon Sep 17 00:00:00 2001 -From: root -Date: Sat, 25 Dec 2021 17:42:47 +0800 -Subject: [PATCH] fix +From c4fa8f8344a5f7a3147c8bee34d37b6af35d02e7 Mon Sep 17 00:00:00 2001 +From: snoweay +Date: Wed, 12 Aug 2020 07:53:13 -0400 +Subject: [PATCH] kexec: Add quick kexec support +Add quick kexec option -q and flags. + +In normal kexec, relocating kernel may cost 5 ~ 10 seconds, to +copy all segments from vmalloced memory to kernel boot memory, +because of disabled mmu. + +We introduce quick kexec to save time of copying memory as above, +just like kdump(kexec on crash), by using reserved memory. + +We also add this support in syscall kexec_load of linux kernel +through flags of KEXEC_QUICK. --- kexec/kexec-syscall.h | 1 + kexec/kexec.c | 10 ++++++++++ diff --git a/kexec-tools.spec b/kexec-tools.spec index 8af5863..c87083a 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -4,7 +4,7 @@ Name: kexec-tools Version: 2.0.23 -Release: 1 +Release: 2 License: GPLv2 Summary: The kexec/kdump userspace component URL: https://www.kernel.org/ @@ -289,6 +289,9 @@ done %endif %changelog +* Wed Dec 29 2021 zhouwenpei - 2.0.23-2 +- modify the patch header + * Sat Dec 25 2021 zhouwenpei - 2.0.23-1 - update to 2.0.23 -- Gitee