![]() | |||||||||||||
Messages in this thread |
On Mon, 3 Apr 2006 10:02:07 +0100 Russell King <rmk+lkml@arm.linux.org.uk> wrote: > In turn, that means that we can pass it whatever address we happen to > have available at the time, or whichever is simpler to calculate. > interesting :) > In the cases you're looking at (pfn to map number) giving it pfn << > PAGE_SHIFT is entirely sufficient, and is in fact optimal for > performance. Ok, I'll post fixed patch, which uses LOCAL_MAP_NR((pfn) << PAGE_SHIFT) Thank you for advices! --Kame - 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/ | ||||||||||||
| Last update: 2006-04-03 12:37 [from the cache] ©2003-2008 | |||||||||||||