Negative memory with new kernel (2.4.12)

Björn Lindberg d95-bli at nada.kth.se
Tue Oct 16 00:37:33 PDT 2001


Ever since I upgraded to kernel version 2.4.12, 'free' (and xosview for
that matter) sometimes reports a negative value on used memory. I guess
it subtracts the values for buffers and cache from the used memory. Has
anybody else experienced this?

bjorn at nex:~> free
             total       used       free     shared    buffers    
cached
Mem:        385348     345080      40268          0     123676    
222280
-/+ buffers/cache:       -876     386224
Swap:       273024          0     273024
bjorn at nex:~> cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  394596352 353386496 41209856        0 126693376 227663872
Swap: 279576576        0 279576576
MemTotal:       385348 kB
MemFree:         40244 kB
MemShared:           0 kB
Buffers:        123724 kB
Cached:         222328 kB
SwapCached:          0 kB
Active:          44352 kB
Inactive:       177976 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       385348 kB
LowFree:         40244 kB
SwapTotal:      273024 kB
SwapFree:       273024 kB
bjorn at nex:~>
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list