Re: Cache incoherencies

Philip Blundell (pb@nexus.co.uk)
Thu, 26 Aug 1999 11:14:43 +0100


>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/