Re: [PATCH] powerpc/crashkernel: take mem option into account

2019-09-22 Thread Pingfan Liu
On Wed, Sep 18, 2019 at 7:23 PM Michael Ellerman wrote: > > Pingfan Liu writes: > > Cc Kexec list. And keep the original content. > > > > On Thu, Sep 12, 2019 at 10:50 AM Pingfan Liu wrote: > >> > >> 'mem=" option is an easy way to put high pressure on memory during some > >> test. Hence in stea

Re: [PATCH] powerpc/crashkernel: take mem option into account

2019-09-18 Thread Michael Ellerman
Pingfan Liu writes: > Cc Kexec list. And keep the original content. > > On Thu, Sep 12, 2019 at 10:50 AM Pingfan Liu wrote: >> >> 'mem=" option is an easy way to put high pressure on memory during some >> test. Hence in stead of total mem, the effective usable memory size ^

Re: [PATCH] powerpc/crashkernel: take mem option into account

2019-09-16 Thread Pingfan Liu
Cc Kexec list. And keep the original content. On Thu, Sep 12, 2019 at 10:50 AM Pingfan Liu wrote: > > 'mem=" option is an easy way to put high pressure on memory during some > test. Hence in stead of total mem, the effective usable memory size should > be considered when reserving mem for crashke

[PATCH] powerpc/crashkernel: take mem option into account

2019-09-11 Thread Pingfan Liu
'mem=" option is an easy way to put high pressure on memory during some test. Hence in stead of total mem, the effective usable memory size should be considered when reserving mem for crashkernel. Otherwise the boot up may experience oom issue. E.g passing crashkernel="2G-4G:384M,4G-16G:512M,16G-6

Re: [PATCH] powerpc/crashkernel: take mem option into account

2019-09-11 Thread Pingfan Liu
NACK it. Due to a miss the updating of printk info. I will send out V2 On Mon, Sep 9, 2019 at 12:05 PM Pingfan Liu wrote: > > 'mem=" option is an easy way to put high pressure on memory during some > test. Hence in stead of total mem, the effective usable memory size should > be considered when r

Re: [PATCH] powerpc/crashkernel: take mem option into account

2019-09-09 Thread Pingfan Liu
On Mon, Sep 9, 2019 at 12:05 PM Pingfan Liu wrote: > > 'mem=" option is an easy way to put high pressure on memory during some > test. Hence in stead of total mem, the effective usable memory size should > be considered when reserving mem for crashkernel. Otherwise the boot up may > experience oom

[PATCH] powerpc/crashkernel: take mem option into account

2019-09-08 Thread Pingfan Liu
'mem=" option is an easy way to put high pressure on memory during some test. Hence in stead of total mem, the effective usable memory size should be considered when reserving mem for crashkernel. Otherwise the boot up may experience oom issue. E.g passing crashkernel="2G-4G:384M,4G-16G:512M,16G-6