Re: Page Cache

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

 





Wang Yu 写道:
Hi, all
First, I want to verify a statement: every opened file has a page cache in memory, there is a struct address_space object associated with it and the inode of the opened file has a field i_mapping pointing to the page cache. If processes in system read or write N files concurrently, there are N page caches in memory. Is this statement right?
page cache mechanism is not related to any specific file , but a system-wide thing .
Second, are there some limits about a page cache of a file? for example, the number of pages in page cache?
The system's page cache capacity is limited by low memory pressure, when kswapd is waken up(furthermore ,there's other situation exists),the page cache can be shrinked. Every zone has its low watermark about low memory warning.When reached , recliaming occurs.
Thanks!
Best Regards
--
National Research Center for Intelligent Computing Systems
Institute of Computing Technology, Chinese Academy of Sciences

--
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