lkml.org 
[lkml]   [1996]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Caches and DMA with PPro
   Date: 	Mon, 15 Apr 96 12:21:35 PDT
From: feldy@myri.com (Bob Felderman)

I've looked at the flush_cache_xxx() code in pgtable.h and it
has the following code.

/* Caches aren't brain-dead on the intel. */
#define flush_cache_all() do { } while (0)
#define flush_cache_mm(mm) do { } while (0)
#define flush_cache_range(mm, start, end) do { } while (0)
#define flush_cache_page(vma, vmaddr) do { } while (0)

I've tried disabling the caches from the BIOS setup, but the
performance of the system and the behavior is unchanged, so I
suspect the BIOS isn't really turning off the caches.

These routines in question are unnecessary on Intel machines, if this
were not the case MS-DOS wouldn't work on your machine.

Later,
David S. Miller
davem@caip.rutgers.edu


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