On Mon, 3 Mar 2008, Nick Piggin wrote: > > Although they were already using kernel-virtual addresses before I got > there, we want to remove the requirement to have a struct page, and > there are no good accessors to kmap a pfn (AFAIK) otherwise we could > indeed just use a pfn. Implementing a kmap_pfn() sounds like a perfectly sane idea. But why does it need to even be mapped into kernel space? Is it for the ELF header reading or something (not having looked at the patch, just reacting to the wrongness of using virt_to_phys())? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html