[uClinux-dev] How to know what's taking place in memory (new numbers)

Fabrice Gautier Fabrice_Gautier at sdesigns.com
Tue Nov 27 22:45:35 EST 2001

> -----Original Message-----
> From: David McCullough [mailto:davidm at snapgear.com]
> > 
> > But which one would free something soon after? The only 
> thing i can think of
> > that would fragment the memory would be the init segment 
> which is freed at
> > some time, but that's 28k 
> Network traffic maybe ? 

No, there's no network support in my kernel.

> > > you should try a smaller one like simple-init.c from 

I really tried hard, my new init does { printf("hello\n"); while(1); } and
its about 18k with uclibc.

And I got:

__alloc_pages: 3-order allocation failed (gfp=0x1f0/0) from 0201d110
Allocation of length 24321 from process 1 failed
Buffer memory:        0kB
Free pages:         132kB (     0kB HighMem)
( Active: 0, inactive: 0, free: 33 )
= 0kB)
1*4kB 2*8kB 1*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB =
= 0kB)

This time the 24321 should fit easily either in the 32kb block or in the
64kb block. 

This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/

More information about the uClinux-dev mailing list