pte_offset_map for ppc assumes HIGHPTE

Dave McCracken dave.mccracken at oracle.com
Thu Jul 26 09:30:21 EST 2007


On Wednesday 25 July 2007, Benjamin Herrenschmidt wrote:
> Depends... if you have CONFIG_HIGHMEM and not CONFIG_HIGHPTE, you are
> wasting time going through kmap_atomic unnecessarily no ? it will probably
> not do anything because the PTE page is in lowmem but still...

Probably not much time.  You still need to do the page to virtual translation, 
which kmap_atomic does for you.

Dave McCracken



More information about the Linuxppc-dev mailing list