lkml.org 
[lkml]   [1999]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cache incoherencies (WAS: New resources - pls, explain :-( )
> > In order to make something compilable on both coherent and incoherent
> > archs, we should standardize the #define for the cache line size, add a
> > routine/macro to query about the coherency of the bus, and provide a
> > "magic" bit for kmalloc that gives you non cachable space.

A per bus coherency isn't sufficient. There are architectures which can
set cache coherency on a per device base. On SMPs this can avoid a
major amount of cross-CPU invalidates, therefore a good performance gain.
For architectures like this you want to leave the decission to the
driver writer.

Ralf

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