Re: Known memory leaks in 2.0.31-pre-10-2.1 ?

Ingo Molnar (mingo@pc7537.hil.siemens.at)
Wed, 15 Oct 1997 01:00:59 +0100 (MET)


On Tue, 14 Oct 1997, ADAM Sulmicki wrote:

> [root@eax /root]# ./shalt
> Linux serial monitor v0.1
> halt> m
> Mem-info:
> Free pages: 740kB
> ( 41*4kB 10*8kB 1*16kB 1*32kB 1*64kB 3*128kB = 740kB)
> Swap cache: add 26403/26403, delete 196983447/19683, find 31319/6200
> Free swap: 110224kB
> 16384 pages of RAM
> 188 free pages
> 564 reserved pages
> 1389 pages shared
> Buffer memory: 232kB
> Buffer heads: 262
> Buffer blocks: 232
> CLEAN: 43 buffers, 1 used (last=1), 0 locked, 0 protected, 0 dirty
> LOCKED: 136 buffers, 93 used (last=130), 0 locked, 0 protected, 0 dirty
> DIRTY: 41 buffers, 0 used (last=0), 0 locked, 0 protected, 41 dirty

unless i'm mis-interpreting this show_mem() output, it looks like as if
your 64M memory is divided this way:

file buffers (block and page cache): ~5.8 Megs
free kernel memory: ~0.7 Megs

where is the remaining memory, it cannot be all kernel-allocated? I guess
i'm missing something important.

-- mingo