lkml.org 
[lkml]   [1999]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cache incoherencies
On Thu, Aug 26, 1999, Jes Sorensen <Jes.Sorensen@cern.ch> wrote:

>Ralf> There isn't a portable way to get uncached memory. But
>Ralf> GFP_UNCACHED sounds good.
>
>On the m68k we have a kernel_set_cachemode() which does the job.

I looked at it, but I still prefer allocating uncachable space rather
than setting the cache mode afterwards. Are there cases where you want to
toggle the cache mode of a given range more than once ?

I prefer avoiding walking the page tables the way it's done in
kernel_set_cachemode. Adding the GPF_UNCACHED flag seems a lot more
maintainable to me, and requires really very few changes to implement.

But, of course, I may be wrong...

--
Perso. e-mail: <mailto:bh40@calva.net>
Work e-mail: <mailto:benh@mipsys.com>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>




-
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.095 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site