Question of kmap_atomic
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Jul 16 03:46:20 EDT 2010
On Fri, Jul 16, 2010 at 09:41:59AM +0900, Minchan Kim wrote:
> I am stuck with looking at ARM's kmap_atomic.
> I am not familiar with ARM cache model.
> As I look the code, ARM seems to have a VIPT aliasing model.
> Before Nicolas's 17ebba1fe, kmap_atomic always calls kmap_high_get to
> prevent aliasing problem of 7929eb9cf64 regardless of VIVT and VIPT.
> 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?
There's various problems with highmem and VIPT aliasing caches, so we don't
permit its use with such caches.
More information about the linux-arm-kernel