lkml.org 
[lkml]   [1999]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Cache incoherencies
Date
From
>There isn't a portable way to get uncached memory.  But GFP_UNCACHED
>sounds good.

It sounds good but conceptually I don't like it. Making a page uncached
involves messing with the pagetables and perhaps creating a completely new
mapping. This isn't something that __get_free_pages should be doing in my
opinion. I would prefer people to allocate pages using
__get_free_pages(GFP_KERNEL) and then create an uncached mapping using some
other function, or perhaps do both in one go using a vmalloc variant.

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