lkml.org 
[lkml]   [1999]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Cache incoherencies
Date
From
Russell King wrote:
> > Currently (IIRC) there is a big macro instantiated twice to handle DMA
> > or non-DMA memory. If we generalize this to handle many lists of free
> > pages, we'll move to just one instantiation of "grab a block from a
> > list". This is likely to have a smaller cache-footprint leading to a
> > performance improvement.
>
> Unless my sight is failing, grep and less only indicate that the
> macro is instantiated only once to handle the memory allocation.

Yep, I was wrong. It is no longer instantiated twice. It now does a
linear search for a DMA-able page. Brilliant. I bet you it doesn't
make a difference in a lot of cases.

Roger.

--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------


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