Question of kmap_atomic

Nicolas Pitre nico at fluxnic.net
Thu Jul 15 22:46:16 EDT 2010


On Fri, 16 Jul 2010, Minchan Kim wrote:

> >> But the patch made it to not call kmap_high_get when VIPT-aliasing
> >> model in CONFIG_DEBUG_HIGHMEM.
> >> Doesn't it cause aliasing problem as 7929eb9cf64 says, again?
> >
> > No because with VIPT, the cache is tagged with physical addresses, and
> > therefore the same cache data will be used for the same memory
> > regardless of the virtual address used to reach it.  On VIVT this is not
> > the case and the comment in 7929eb9cf64 applies to VIVT only.
> 
> Thanks for quick reply, Nicolas.
> 
> My concern is following as.
> 
> In VIPT alising model,
[...]

Highmem is not supported with VIPT alising and probably will never be. 
See commit 3f973e22.


Nicolas


More information about the linux-arm-kernel mailing list