Messages in this thread | | | Date | Thu, 31 Jan 2019 11:50:19 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCHv7] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr |
| |
On Tue, Jan 29, 2019 at 01:51:45PM +0800, Pingfan Liu wrote: > Sorry, can not catch up with you. Do you suggestion > memblock_find_in_range(0, kernel_start) and > memblock_find_in_range(kernel_end, mem_end)? But the memory is > truncated into fraction by many component which call > memblock_reserve(), besides kernel.
extract_kernel() selects the physical address where the place the kernel. You can use that physical address to figure out where to allocate the crash kernel range.
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |