[uClinux-dev] Re: Tiny memory

David McCullough davidm at snapgear.com
Tue Mar 25 01:12:50 EST 2003


Jivin Miles Bader lays it down ...
> John Williams <jwilliams at itee.uq.edu.au> writes:
> > Realistically, is it time for me to get some more memory (my little baby 
> > is growing up so fast :) There's also 32MB of fairly fast DDR on this 
> > board, but I'll have to fiddle to get a controller up and running.
> 
> I've tried a few times to get uclinux running with very low RAM, and it
> have always run afoul of various bugs and assumptions in the code, to the
> point where it seemed like more trouble that it's worth.
> 
> I'd recommend just spending the effort now to get more memory working;
> you're going to have to do it eventually anyway (even if you could get it
> to work in some fashion, it's unlikely to result in a practical system),
> and doing so now saves you having to deal with generic uclinux memory
> management bugs in addition to your own platform-specific bugs.

I agree.

You could, however, try the page_alloc2 stuff (CONFIG_CONTIGUOUS_PAGE_ALLOC),
it should get you by the immediate problem with big slabs,

Cheers,
Davidm

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + Security



More information about the uClinux-dev mailing list