Re: [RFC] proc interface to show file page cache usage details

2014-11-23 Thread Vladimir Shebordaev
On Sun, 2014-11-23 at 14:51 +0400, Vladimir Shebordaev wrote: > Hi, > > I would like to suggest an interface to list inodes that currently > occupy page cache in human readable form. > > A piece of code below creates a dedicated proc entry, namely, > /proc/kpagecache. Upon read request it

[RFC] proc interface to show file page cache usage details

2014-11-23 Thread Vladimir Shebordaev
Hi, I would like to suggest an interface to list inodes that currently occupy page cache in human readable form. A piece of code below creates a dedicated proc entry, namely, /proc/kpagecache. Upon read request it traverses all the inodes of each superblock and shows their page cache usage

[RFC] proc interface to show file page cache usage details

2014-11-23 Thread Vladimir Shebordaev
Hi, I would like to suggest an interface to list inodes that currently occupy page cache in human readable form. A piece of code below creates a dedicated proc entry, namely, /proc/kpagecache. Upon read request it traverses all the inodes of each superblock and shows their page cache usage

Re: [RFC] proc interface to show file page cache usage details

2014-11-23 Thread Vladimir Shebordaev
On Sun, 2014-11-23 at 14:51 +0400, Vladimir Shebordaev wrote: Hi, I would like to suggest an interface to list inodes that currently occupy page cache in human readable form. A piece of code below creates a dedicated proc entry, namely, /proc/kpagecache. Upon read request it traverses all