Cache manager questions

Michael Hamel mhamel at adi.co.nz
Tue Dec 2 21:53:15 UTC 2008


On 03/12/2008, at 4:32 AM, Leon Pollak wrote:
leonp at plris.com
> Hello, all.
>
> After a bit carefull study of some of the cache aspects I have several
> questions and will be glad to hear the guru's opinion:
>
> 1. I already asked previously: why the cache manager uses functions  
> instead of
> macros for invalidating one line (one machine command). Significant  
> speed
> improvement seems to be obvious here.
>
> 2. Cache manager does not make use of several other cache related  
> commands,
> which IMHO may be usefull: store line instead of flush, touch  
> instead of
> invalidate, etc.
>
> If there are no objections, I would like to introduce these changes.
>

I'm in favour as I have already had to write my own versions of these  
routines (and the variants you mention) for better performance; they  
can be time-critical if you are doing a lot of small DMA transactions...

---
"Not *another* shrubbery!"

Michael Hamel
ADInstruments Ltd, Dunedin, NZ




More information about the users mailing list