This patch set adds ZSTD compression support to makedumpfile. With ZSTD
compression
support, the vmcore dump size and time consumption can have a better balance
than
zlib/lzo/snappy.
How to build:
Build using make:
$ make USEZSTD=on
Performance Comparison:
How to measure
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index 5d61a69..725c186 100644
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,11 @@ endif
CFLAGS += -DUSESNAPPY
endif
+ifeq ($(USEZSTD), on)
+LIBS := -lzstd $(L
Signed-off-by: Tao Liu
---
makedumpfile.c | 26 ++
makedumpfile.h | 6 ++
2 files changed, 32 insertions(+)
diff --git a/makedumpfile.c b/makedumpfile.c
index 76a7a77..af21a84 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -3892,6 +3892,12 @@ initial_for_paralle
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
diskdump_mod.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/diskdump_mod.h b/diskdump_mod.h
index 3733953..e4bce5c 100644
--- a/diskdump_mod.h
+++ b/diskdump_mod.h
@@ -98,6 +98,7 @@ struct kdump_sub_header {
#define DUMP_DH_COMPRESSED_IN
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
makedumpfile.c | 5 -
makedumpfile.h | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index 157..100b407 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -11656,7 +11656,7 @@ main(in
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
makedumpfile.c | 41 -
makedumpfile.h | 3 +++
2 files changed, 39 insertions(+), 5 deletions(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index f3bf297..76a7a77 100644
--- a/makedumpfile.c
+++ b/make
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
makedumpfile.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/makedumpfile.c b/makedumpfile.c
index 100b407..f3bf297 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -4171,6 +4171,15 @@ initial(void)
}
#endif
+#ifndef
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
makedumpfile.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index af21a84..e70d882 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -832,7 +832,7 @@ readpage_kdump_compressed(un
Signed-off-by: Tao Liu
---
makedumpfile.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/makedumpfile.c b/makedumpfile.c
index e70d882..2514eb6 100644
--- a/makedumpfile.c
+++ b/makedumpfile.c
@@ -919,7 +919,7 @@ readpage_kdump_compressed_parallel(int fd_memory, uns
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
print_info.c | 30 +-
1 file changed, 21 insertions(+), 9 deletions(-)
diff --git a/print_info.c b/print_info.c
index 8b28554..e4bfefc 100644
--- a/print_info.c
+++ b/print_info.c
@@ -38,6 +38,11 @@ show_version(void
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
README | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README b/README
index 6629440..0b17cf1 100644
--- a/README
+++ b/README
@@ -49,7 +49,10 @@
7.Build with snappy support:
# make USESNAPPY=on ; make install
Signed-off-by: Tao Liu
Signed-off-by: Coiby Xu
---
makedumpfile.8 | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/makedumpfile.8 b/makedumpfile.8
index f782e5f..3022d9c 100644
--- a/makedumpfile.8
+++ b/makedumpfile.8
@@ -132,10 +132,11 @@ configuration, you need to us
On Wed, Sep 08, 2021 at 05:58:33PM -0500, Tom Lendacky wrote:
> In prep for other confidential computing technologies, introduce a generic
preparation
> helper function, cc_platform_has(), that can be used to check for specific
> active confidential computing attributes, like memory encryption. T
This would segfault if mhi.rel_tag didn't exist.
Signed-off-by: Zhaofeng Li
---
kexec/arch/i386/kexec-mb2-x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kexec/arch/i386/kexec-mb2-x86.c b/kexec/arch/i386/kexec-mb2-x86.c
index c10c0ef..49fcc2d 100644
--- a/kexec/arch/i38
Signed-off-by: Zhaofeng Li
---
kexec/arch/i386/kexec-mb2-x86.c | 34 ++--
kexec/arch/x86_64/kexec-x86_64.c | 4 ++--
2 files changed, 34 insertions(+), 4 deletions(-)
diff --git a/kexec/arch/i386/kexec-mb2-x86.c b/kexec/arch/i386/kexec-mb2-x86.c
index 49fcc2d..31b4c
Hi Simon,
This patch series adds support for loading x86-64 ELF images with
the multiboot2 header and fixes a couple of related issues.
Tested by loading a custom research OS kernel. Thank you for your
review!
Zhaofeng
Zhaofeng Li (3):
multiboot2: Correct MBI size calculation
multiboot2: Us
tag_load_base_addr is dependent on rel_tag, and tag_framebuffer was
not accounted for.
Signed-off-by: Zhaofeng Li
---
kexec/arch/i386/kexec-mb2-x86.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/kexec/arch/i386/kexec-mb2-x86.c b/kexec/arch/i386/kexec-mb2-x
17 matches
Mail list logo