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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Christoph Lameter <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- References:
- [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Daniel Hokka Zakrisson <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: "Pekka Enberg" <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: "Pekka Enberg" <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Pekka Enberg <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Pekka Enberg <[email protected]>
- Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- From: Christoph Lameter <[email protected]>
- [PATCH] fs: fcntl_setlease defies lease_init assumptions
- Prev by Date: build failure on 2.6.17-rc3-git15
- Next by Date: Re: [Patch 1/8] Setup
- Previous by thread: Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- Next by thread: Re: [PATCH] fs: fcntl_setlease defies lease_init assumptions
- Index(es):