From: "kautuk.c @samsung.com" <consul.kautuk@gmail.com>
To: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org,
linux-fsdev@vger.rutgers.edu
Cc: linux-kernel@vger.kernel.org
Subject: Is there any way to stop reclamation of file cache pages ?
Date: Mon, 5 Sep 2011 14:44:43 +0530 [thread overview]
Message-ID: <CAFPAmTTaq2Lz=eGgfG2-5U0M9aS_aZLNAANAVPZj6TEo9EdjGg@mail.gmail.com> (raw)
Hi,
I am aware that mlocked pages can be stopped from being reclaimed
through the PFRA.
However, is there any method to stop reclamation of the page-cache
pages pertaining to
a single file's inode without mlocking ?
If I want to only use the open, read and write system calls and I want
to set specific file cache
pages to "non-reclaimable", how can I do so ?
Will the POSIX_FADV_WILLNEED option to the fadvise() system call solve
this problem ?
Thanks,
Kautuk.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2011-09-05 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-05 9:14 kautuk.c @samsung.com [this message]
2011-09-08 0:26 ` KAMEZAWA Hiroyuki
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='CAFPAmTTaq2Lz=eGgfG2-5U0M9aS_aZLNAANAVPZj6TEo9EdjGg@mail.gmail.com' \
--to=consul.kautuk@gmail.com \
--cc=linux-fsdev@vger.rutgers.edu \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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