Thread (1 message) 1 message, 1 author, 2010-07-16
  • (off-list ancestor, not in this archive)
  • Question of kmap_atomic · Russell King - ARM Linux <hidden> · 2010-07-16

Question of kmap_atomic

From: Russell King - ARM Linux <hidden>
Date: 2010-07-16 07:46:20

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help