linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* freeing pagecache
@ 2002-09-29 12:00 David Chow
  2002-09-29 13:38 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: David Chow @ 2002-09-29 12:00 UTC (permalink / raw)
  To: linux-fsdevel

Hi all,

This is probabaly a question for the VFS or VM. If I some pages are 
associated with an inode (pagec->mapping->host == the_inode) . When 
running out of memory, how does the vm freeing up the pagecache? OK, if 
I am running out of memory, is there any chance for the vm freeing up 
the pages and leaving the inode and dentry in the dcache or it is 
trigerred by the shring_dcache and result in freeing up all the pages. 
In case if the pages are locked, how does the VM handle this case? 
Anyway, it is probably a question of the path of freeing up page 
cache... The reason I am asking the question is that if I am safe to 
make use of an unlocked mapped pagecahed page. Thanks for comments and 
answers.

David



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-29 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29 12:00 freeing pagecache David Chow
2002-09-29 13:38 ` Matthew Wilcox
2002-09-29 15:12   ` David Chow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).