lkml.org 
[lkml]   [1999]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Cache incoherencies
Date
From
> vmalloc implementation is a lot simpler, I just did it based on Russel's
> patches, and it's plenty enough for what we need (I don't think a driver
> will ever need more than one page uncached anyway). I added a definition
> for PAGE_UNCACHED. I currently use a #ifdef PAGE_UNCACHED to export or
> not vmalloc_uncached from vmalloc.c, but this is a temporary solution so
> I can make sure my eth. driver works.

The other advantage of vmalloc based stuff is it covers things like MIPS boxes
with fixed area partitioning because I can force the return to do stuff like

x=_KSEG_UNCACHED|vmalloc(size)

Alan


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