Re: [RFC] the /proc/filecache interface
From: Bernard Blackham
Date: Wed Jun 14 2006 - 22:05:13 EST
On Thu, Jun 15, 2006 at 08:40:34AM +0800, Fengguang Wu wrote:
> As for the "selectively ditching pages" function, my original scheme
> is to
> - query /proc/filecache to answer the question of "which pages
> are cached, and their status(referenced/active etc.)"
> - run "fadvise filename page-offset pages" to ditch pages
> Do you think it as convenient?
Certainly. That would be a great feature to have! And in this age of
pushing every man and his cat out to userspace, a userspace binary
that identifies the specific pages that need to go will probably
keep the some of the kernel folk happy.
Thanks,
Bernard.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/