From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [RFCv3][PATCH 1/3] create slow_virt_to_phys() Date: Tue, 15 Jan 2013 12:04:49 -0500 Message-ID: <50F58C31.3020105@redhat.com> References: <20130109185904.DD641DCE@kernel.stglabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130109185904.DD641DCE@kernel.stglabs.ibm.com> Sender: linux-kernel-owner@vger.kernel.org To: Dave Hansen Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Gleb Natapov , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Marcelo Tosatti List-Id: linux-mm.kvack.org On 01/09/2013 01:59 PM, Dave Hansen wrote: > Broadening the cc list here a bit... This bug is still present, > and I still need these patches to boot 32-bit NUMA kernels. They > might be obscure, but if we don't care about them any more, perhaps > we should go remove the NUMA remapping code instead of this. > > -- > > This is necessary because __pa() does not work on some kinds of > memory, like vmalloc() or the alloc_remap() areas on 32-bit > NUMA systems. We have some functions to do conversions _like_ > this in the vmalloc() code (like vmalloc_to_page()), but they > do not work on sizes other than 4k pages. We would potentially > need to be able to handle all the page sizes that we use for > the kernel linear mapping (4k, 2M, 1G). Acked-by: Rik van Riel -- All rights reversed