Re: [RFC] the /proc/filecache interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux