Re: makedumpfile saving vmcore fails with dynamically allocated mem_section (was: Re: [PATCH] handle renamed init_level4_pgt -> init_top_pgt)

2018-01-02 Thread Baoquan He
On 01/03/18 at 10:30am, Dave Young wrote: > On 01/02/18 at 05:08pm, Baoquan He wrote: > > On 01/02/18 at 04:57pm, Dave Young wrote: > > > The root cause is this commit makes mem_section as a pointer instead of > > > the static array. > > > > > > VMCOREINFO_SYMBOL() expand it as &mem_section, this

makedumpfile saving vmcore fails with dynamically allocated mem_section (was: Re: [PATCH] handle renamed init_level4_pgt -> init_top_pgt)

2018-01-02 Thread Dave Young
On 01/02/18 at 05:08pm, Baoquan He wrote: > On 01/02/18 at 04:57pm, Dave Young wrote: > > The root cause is this commit makes mem_section as a pointer instead of > > the static array. > > > > VMCOREINFO_SYMBOL() expand it as &mem_section, this is not correct in > > the test case any more. > > > >

Re: [PATCH] handle renamed init_level4_pgt -> init_top_pgt

2018-01-02 Thread Baoquan He
On 01/02/18 at 04:57pm, Dave Young wrote: > The root cause is this commit makes mem_section as a pointer instead of > the static array. > > VMCOREINFO_SYMBOL() expand it as &mem_section, this is not correct in > the test case any more. > > This hack code works for me: > > diff --git a/kernel/cra

Re: [PATCH] handle renamed init_level4_pgt -> init_top_pgt

2018-01-02 Thread Dave Young
Hi Atsushi, Happy new year! On 12/26/17 at 08:21am, Atsushi Kumagai wrote: > >On 12/22/17 at 12:54pm, Dave Young wrote: > >> Hi Atsushi, > >> On 12/21/17 at 08:48am, Atsushi Kumagai wrote: > >> > Hello Dave, > >> > > >> > >[dyoung@dhcp-*-* makedumpfile]$ sudo ./makedumpfile -l -d 31 > >> > >/mnt