This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: cerfpda ram cacheability
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Jani Monoses <jani at iv dot ro>
- Cc: ecos-patches at sources dot redhat dot com
- Date: 19 Nov 2003 04:00:52 -0700
- Subject: Re: cerfpda ram cacheability
- Organization: MLB Associates
- References: <20031119105748.1a7b7d99.jani@iv.ro>
On Wed, 2003-11-19 at 01:57, Jani Monoses wrote:
> Hello
>
> the cerfpda maps its DRAM as not cacheable. I'm not sure if it's by accident
> or some problems were perceived if cache was enabled. Anyway this patch makes
> RAM cacheable and for tm_basic at least performance is two orders of magnitude
> better. Also for network benchmarks throughput is 3 times bigger.
> Also I removed the second definition of the phys_to_virt macro from plf_mmap,h
> because the macro was duplicated, and I kept the one hich matches virt_to_phys.
Applied, thanks.
Two things:
* Do you have one of these? This code was contributed by Intrinsyc,
but never tested by me because we never had one.
* Next time, please make your patches relative to the .../packages
directory (see how I do it). That's much safer, as it's easier to
guarantee that they get applied to the correct file(s).
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates