modify the patch header
This commit is contained in:
parent
6db177884b
commit
efca053045
@ -1,8 +1,19 @@
|
|||||||
From e841cb419d74adbda7116a6b11b5fcaeba0dc274 Mon Sep 17 00:00:00 2001
|
From c4fa8f8344a5f7a3147c8bee34d37b6af35d02e7 Mon Sep 17 00:00:00 2001
|
||||||
From: root <root@localhost.localdomain>
|
From: snoweay <snoweay@163.com>
|
||||||
Date: Sat, 25 Dec 2021 17:42:47 +0800
|
Date: Wed, 12 Aug 2020 07:53:13 -0400
|
||||||
Subject: [PATCH] fix
|
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-syscall.h | 1 +
|
||||||
kexec/kexec.c | 10 ++++++++++
|
kexec/kexec.c | 10 ++++++++++
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.23
|
Version: 2.0.23
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: The kexec/kdump userspace component
|
Summary: The kexec/kdump userspace component
|
||||||
URL: https://www.kernel.org/
|
URL: https://www.kernel.org/
|
||||||
@ -289,6 +289,9 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.0.23-2
|
||||||
|
- modify the patch header
|
||||||
|
|
||||||
* Sat Dec 25 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.0.23-1
|
* Sat Dec 25 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2.0.23-1
|
||||||
- update to 2.0.23
|
- update to 2.0.23
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user