From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from hera.kernel.org ([140.211.167.34]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1NB9tP-0003Fp-H7 for kexec@lists.infradead.org; Thu, 19 Nov 2009 16:29:59 +0000 Message-ID: <4B0572DA.3030508@kernel.org> Date: Fri, 20 Nov 2009 01:31:22 +0900 From: Tejun Heo MIME-Version: 1.0 Subject: Re: Kdump issue with percpu_alloc=lpage References: <4AE8B612.9080103@ccur.com> <4B03BD7A.9040500@kernel.org> <20091119143343.GB8741@redhat.com> <4B055A05.2010205@kernel.org> <20091119162329.GA2923@redhat.com> In-Reply-To: <20091119162329.GA2923@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Vivek Goyal Cc: John Blackwood , "kexec@lists.infradead.org" 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? Thanks. -- tejun _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec