Kumagai-san, this patch was inspired by this post of yours: http://lists.infradead.org/pipermail/kexec/2013-November/010445.html Unfortunately, this rewrite never happened, so I took the liberty of overtaking the job. I hope you don't mind. This is in fact a preparatory series to add hugepage support without having to care about the appropriate size of the cyclic buffer. Changelog: * v2: - Keep excluded regions per mem_map_data - Process excluded pages in chunks Petr Tesarik (3): Pass mmd pointer to __exclude_unnecessary_pages Generic handling of multi-page exclusions Get rid of overrun adjustments makedumpfile.c | 118 +++++++++++++++++++-------------------------------------- makedumpfile.h | 7 ++++ 2 files changed, 46 insertions(+), 79 deletions(-) -- 1.8.4.5