lkml.org 
[lkml]   [1999]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Cache incoherencies [example code]
Date
From
>What happens if I simply try to create an additional mapping for an
>existing page ? Basically, what happens if I use ioremap on the physical
>location of a kmalloc'ed page ?
>
>Of course, I will end up having two virtual mappings to the same page,
>but if I make sure to only actually use the uncachable one, will there be
>a problem ? Would something prevent ioremap from creating a mapping for a
>physical page in the SDRAM range ?

Depends on the architecture. On ARM you will be fine so long as you use
__ioremap directly rather than ioremap itself.

p.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.866 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site