[okl4-developer] OKL4 v2.1: About memory layout

David Given dg at cowlark.com
Wed Sep 24 01:51:22 EST 2008


Frank Kaiser wrote:
[...]
> The conclusion is that the memory allocation algorithm carried out be
> the GNU loader under control of the ELF Adorn and ELF Weaver tools is
> somewhat unpredictable, and I do not see why the manipulation of the
> heap size has such a significant effect.

Alignment issues, perhaps? If it knows your platform supports, say, 4kB,
64kB and 1MB pages (like some ARM platforms), it might be trying to move
stuff around in order to fit everything into the smallest number of
pages; that'll increase performance.

You say it's a NOR flash device --- are you using XIP?

-- 
David Given
dg at cowlark.com



More information about the Developer mailing list