[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Cache manager questions
- Date: Wed, 3 Dec 2008 10:53:15 +1300
- From: mhamel at adi.co.nz (Michael Hamel)
- Subject: Cache manager questions
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