[lkml]   [1999]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Cache incoherencies [example code]
I have implemeted vmalloc_uncached, using Russel example, and defining


However, this doesn't work. I have done several tests, and it appears
that when I use memory from vmalloc in general instead of kmalloc, the
datas are not correctly read by the chip, so I beleive this is because
virt_to_bus doesn't work with vmalloc addresses, am I wrong ?

So how can I get uncachable memory _and_ get the physical address ? I
don't care about pages not beeing contiguous since I page is really
plenty enough for what I need. I beleive I'll have to somewhat walk the
page tables... I don't really like this and I would need some quick
explanation about how to acheive this.

Any clues ?

Thanks in advance,


Perso. e-mail: <>
Work e-mail: <>
BenH. Web : <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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