Hi Bizhan,
Do you notice that the buffers has increased (399440 - 262256 = 137184)?
So I think it is because the *badblock* reads the block device and
causes the VFS buffer cache grows. The VFS buffer cache just borrows
your free memory and will returns when necessary.
Hope it helps.
Bizhan Gholikhamseh (bgholikh) 写道:
Hi ALL,
After rebooting my system, the free command indicate plenty of memory
on my system:
:>free
total used free shared buffers
Mem: 516180 369948 146232 0 262256
Swap: 0 0 0
Total: 516180 369948 146232
Then I ran badblock command:
:> badblock -sv /dev/hda
This time free command shows much much less memory, it seems "buffers"
have got all the memory, but how do I release it?
:>free
total used free shared buffers
Mem: 516180 508844 7336 0 399440
Swap: 0 0 0
Total: 516180 508844 7336
Thanks,
Biz
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ