From: David Chow <davidchow@shaolinmicro.com>
To: linux-fsdevel@vger.kernel.org
Subject: freeing pagecache
Date: Sun, 29 Sep 2002 20:00:36 +0800 [thread overview]
Message-ID: <3D96EB64.7020406@shaolinmicro.com> (raw)
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
next reply other threads:[~2002-09-29 12:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-29 12:00 David Chow [this message]
2002-09-29 13:38 ` freeing pagecache Matthew Wilcox
2002-09-29 15:12 ` David Chow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D96EB64.7020406@shaolinmicro.com \
--to=davidchow@shaolinmicro.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).