Kdump issue with percpu_alloc=lpage
Vivek Goyal
vgoyal at redhat.com
Thu Nov 19 11:36:49 EST 2009
On Fri, Nov 20, 2009 at 01:31:22AM +0900, Tejun Heo wrote:
> Hello,
>
> 11/20/2009 01:23 AM, Vivek Goyal wrote:
> > I implemented your suggested function. This patch seems to be fixing the
> > issue. Does it look good to you?
> >
> > Please let me know if you want me to post it to lkml or you will pull it
> > in your tree and push it to Linus.
>
> Please post it to lkml and cc me. I'll push it to Linus afterwards.
>
> > Index: linux9/mm/percpu.c
> > ===================================================================
> > --- linux9.orig/mm/percpu.c 2009-11-12 19:46:07.000000000 -0500
> > +++ linux9/mm/percpu.c 2009-11-19 10:55:35.000000000 -0500
> > @@ -2069,3 +2069,12 @@ void __init setup_per_cpu_areas(void)
> > __per_cpu_offset[cpu] = delta + pcpu_unit_offsets[cpu];
> > }
> > #endif /* CONFIG_HAVE_SETUP_PER_CPU_AREA */
> > +
> > +unsigned long long per_cpu_ptr_to_phys(void *addr)
>
> Maybe phys_addr_t?
>
Sounds good. Will change it and post to lkml.
Thanks
Vivek
> Thanks.
>
> --
> tejun
More information about the kexec
mailing list