Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751360AbWEIDtY (ORCPT ); Mon, 8 May 2006 23:49:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751362AbWEIDtY (ORCPT ); Mon, 8 May 2006 23:49:24 -0400 Received: from dvhart.com ([64.146.134.43]:29410 "EHLO dvhart.com") by vger.kernel.org with ESMTP id S1751360AbWEIDtX (ORCPT ); Mon, 8 May 2006 23:49:23 -0400 Message-ID: <4460113C.9090609@mbligh.org> Date: Mon, 08 May 2006 20:49:16 -0700 From: "Martin J. Bligh" User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christoph Lameter Cc: Pekka Enberg , Linus Torvalds , Daniel Hokka Zakrisson , linux-kernel@vger.kernel.org, =?ISO-8859-1?Q?Bj=F6rn_Steinbrink?= , greg@kroah.com, matthew@wil.cx, manfred@colorfullife.com, akpm@osdl.org Subject: Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions References: <445E80DD.9090507@hozac.com> <84144f020605080131r58ce2a93w6c7ba784a266bbeb@mail.gmail.com> <84144f020605080134q7e16f37fl385359c634ece8ca@mail.gmail.com> <1147104412.22096.8.camel@localhost> <1147116991.11282.3.camel@localhost> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 29 Christoph Lameter wrote: > On Mon, 8 May 2006, Pekka Enberg wrote: > > >>>I think it sounds like it's worth it, but I'm not going to really push it. >> >>Sounds good to me. Andrew? > > > virt_to_page is not cheap on NUMA. > > On IA64 virt_to_page is: > > #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) > > # define pfn_to_page(pfn) (vmem_map + (pfn)) > > vmem_map is not a linear map but a virtual mapping that may require > several faults to get the information. Can't you use sparsemem instead? It solves the same problem without the magic faulting, doesn't it? M. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/