lkml.org 
[lkml]   [2006]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 15 Jun 2006 10:05:09 +0800
FromBernard Blackham <>
SubjectRe: [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/

\
 
 \ /
  Last update: 2006-06-15 04:08    [from the cache]
©2003-2010