v3->v4: 1.remove the option --num-buffers 2.remove the strange code v2->v3: 1.add strange code to optimize performance v1->v2: 1.change the logic to optimize performance This patch set implements parallel processing by means of multiple threads. With this patch set, it is available to use multiple threads to read and compress pages. This parallel process will save time. This feature only supports creating dumpfile in kdump-compressed format from vmcore in kdump-compressed format or elf format. Currently, sadump and xen kdump are not supported. Qiao Nuohan (10): Add readpage_kdump_compressed_parallel Add mappage_elf_parallel Add readpage_elf_parallel Add read_pfn_parallel Add function to initial bitmap for parallel use Add filter_data_buffer_parallel Add write_kdump_pages_parallel to allow parallel process Initial and free data used for parallel process Make makedumpfile available to read and compress pages parallelly Add usage and manual about multiple threads process Makefile | 2 + erase_info.c | 29 +- erase_info.h | 2 + makedumpfile.8 | 13 + makedumpfile.c | 1093 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- makedumpfile.h | 80 +++++ print_info.c | 10 + 7 files changed, 1219 insertions(+), 10 deletions(-) -- 1.8.3.1