Re: [PATCH 3/3] kdump: round up the total memory size to 128M for crashkernel reservation

2017-11-01 Thread Baoquan He
On 10/24/17 at 02:09pm, Dave Young wrote: > Hi Baoquan, > > On 10/24/17 at 01:57pm, Baoquan He wrote: > > Hi Dave, > > > > On 10/24/17 at 01:31pm, Dave Young wrote: > > > The total memory size we get in kernel is usually slightly less than 2G > > > with a > > > 2G memory module machine. The main

Re: [PATCH 3/3] kdump: round up the total memory size to 128M for crashkernel reservation

2017-10-23 Thread Dave Young
Hi Baoquan, On 10/24/17 at 01:57pm, Baoquan He wrote: > Hi Dave, > > On 10/24/17 at 01:31pm, Dave Young wrote: > > The total memory size we get in kernel is usually slightly less than 2G > > with a > > 2G memory module machine. The main reason is bios/firmware reserve some area > > it will not e

Re: [PATCH 3/3] kdump: round up the total memory size to 128M for crashkernel reservation

2017-10-23 Thread Baoquan He
Hi Dave, On 10/24/17 at 01:31pm, Dave Young wrote: > The total memory size we get in kernel is usually slightly less than 2G with a > 2G memory module machine. The main reason is bios/firmware reserve some area > it will not export all memory as usable to Linux. > > 2G memory X86 kvm guest test r

[PATCH 3/3] kdump: round up the total memory size to 128M for crashkernel reservation

2017-10-23 Thread dyoung
The total memory size we get in kernel is usually slightly less than 2G with a 2G memory module machine. The main reason is bios/firmware reserve some area it will not export all memory as usable to Linux. 2G memory X86 kvm guest test result of the total_mem value: UEFI boot with ovmf: 0x7ef1