Messages in this thread |  | | | Date | Thu, 15 Jun 2006 10:05:09 +0800 | | From | Bernard Blackham <> | | Subject | Re: [RFC] the /proc/filecache interface |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |