David Spain wrote:
Running uclinux-2.4.32-uc0 built for for the m68k-based Coldfire (MCF5282):
I'm getting lots of these errors on my console port:
__alloc_pages: 6-order allocation failed (gfp=0x1f0/0)
Allocation of length 200704 from process 421 failed
Free pages: 2028kB ( 0kB HighMem)
Zone:DMA freepages: 0kB
Zone:Normal freepages: 2028kB
Zone:HighMem freepages: 0kB
( Active: 21, inactive: 107, free: 507 )
= 0kB)
51*4kB 28*8kB 16*16kB 10*32kB 10*64kB 3*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB = 2028kB)
= 0kB)
etc.
We were suffering from memory fragmentation, due to overly aggressive use
of dynamic memory by our application coupled with the fact that we were using
the older power-of-2 memory allocator which was over-allocating for us and
causing use to run out of memory. This all went away for us when we
switched to the page_alloc2() algorithm documented here:
http://mailman.uclinux.org/pipermail/uclinux-dev/2007-July/043629.html
--
David Spain
SiCortex, Inc.
Three Clock Tower Place, Suite 210
Maynard, MA USA 01754
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev