more cache manager issues

Peter Barada pbarada at mail.wm.sps.mot.com
Mon Nov 6 17:22:10 UTC 2000


> An alternative to this approach would be letting
> rtems_cache_aligned_malloc()
> using its own heap with a bigger (cache aligned) granularity.

Why not modify the allocator to return the cache aligned block, and
to adjust the size of the block below it(in address space) to take
into acount that the header has moved(to jues below the cache aligned
address).  This way you don't have to create a new heap or free
function....


-- 
Peter Barada                                       pbarada at mail.wm.sps.mot.com
Wizard                                             781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)       781-270-0193 (fax)

"The real art of conversation is not only to say the right thing at the
right time, but also to leave unsaid the wrong thing at the tempting
moment."  -- Unknown



More information about the users mailing list