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 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 * v3: - Keep excluded region extents in struct cycle Petr Tesarik (2): Generic handling of multi-page exclusions Get rid of overrun adjustments makedumpfile.c | 108 +++++++++++++++++++-------------------------------------- makedumpfile.h | 5 +++ 2 files changed, 40 insertions(+), 73 deletions(-) -- 1.8.4.5