Question of kmap_atomic

Minchan Kim minchan.kim at gmail.com
Thu Jul 15 22:52:20 EDT 2010


On Fri, Jul 16, 2010 at 11:46 AM, Nicolas Pitre <nico at fluxnic.net> wrote:
> 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.

It's clear.
Thanks, Nicolas.


-- 
Kind regards,
Minchan Kim



More information about the linux-arm-kernel mailing list