[PATCH v2] vmcore: copy fractional pages into buffers in the kdump2nd kernel
From: HATAYAMA Daisuke
Date: Mon Dec 09 2013 - 03:08:14 EST
This is a patch for fixing mmap failure due to fractional page issue.
This patch might be still a bit too large as a single patch and might need to split.
If you think patch refactoring is needed, please suggest.
Change Log:
v1 => v2)
- Copy fractional pages from 1st kernel to 2nd kernel to reduce read
to the fractional pages for reliability.
- Deal with the case where multiple System RAM areas are contained in
a single fractional page.
Test:
Tested on X86_64. Fractional pages are created using memmap= kernel
parameter on the kdump 1st kernel.