Re: [RFC][PATCH] [POWERPC] Allow caching of kmap_atomic page

2007-11-30 Thread Benjamin Herrenschmidt
On Fri, 2007-11-30 at 03:14 -0600, Kumar Gala wrote: > Skip updating the kmap_pte and flushing the TLB if the pte we > are about to write is the same as the one we wrote last time we > called kmap_atomic for this km_type. > > Also expose the flags to allow a caller to specify their own > flags fo

[RFC][PATCH] [POWERPC] Allow caching of kmap_atomic page

2007-11-30 Thread Kumar Gala
Skip updating the kmap_pte and flushing the TLB if the pte we are about to write is the same as the one we wrote last time we called kmap_atomic for this km_type. Also expose the flags to allow a caller to specify their own flags for things like non-cacheable IO memory. --- This is the starts of