Re: page cache query

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

 



On Wed, Dec 16, 2009 at 8:32 PM, Nagaprabhanjan Bellari <nagp.knb@xxxxxxxxx> wrote:
I learn a trick from Con Kolivas to purge cache...hopefully I recall
it correctly:
# tail /dev/zero

wait for few seconds...watch out to not make it OOM....and most likely
some (if not at all) page cache will be purged out.
 
Are you sure? Does page cache get involved at all while reading this pseudo device?
 
 
I ask this because /dev/zero is a character device, so wondering where will page cache come in.
 
tomahawk>ls -l /dev/zero
crw-rw-rw-  1 root root 1, 5 Nov 13 02:45 /dev/zero
Thanks,
-nagp

[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