Re: badblock leaks system memory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux