Hi, "Mulyadi Santosa" <mulyadi.santosa@xxxxxxxxx> writes: > Hi > > On Sat, May 31, 2008 at 10:35 AM, Guo Hongruan <camelguo@xxxxxxxxx> wrote: >> 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. > > ...And to drop the cache, I remember there is entry under > /proc/sys/vm/...its name is probably "drop_cache". IIRC, echo 2 to > that file means flushing out (implicitly means sync it first with the > backing storage) page cache and buffer. It only drops clean stuff. So sync first manually. Hannes -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ