Re: [PATCH] drop page cache of a single file

2007-01-27 Thread Vaidyanathan Srinivasan
Zhang, Yanmin wrote: > Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, > slab(dentries and inodes), or both, but applications couldn't choose to > just drop the page cache of one file. An user of VOD (Video-On-Demand) > needs this capability to have more detailed contro

Re: [PATCH] drop page cache of a single file

2006-12-28 Thread Andrew Morton
On Thu, 28 Dec 2006 10:45:08 + Russell King <[EMAIL PROTECTED]> wrote: > The kernel community needs to get a grip with the implementation of > new syscalls - we need a process where architecture maintainers get > to review the arguments _prior_ to them being accepted into the kernel. > That wa

Re: [PATCH] drop page cache of a single file

2006-12-28 Thread Fengguang Wu
On Thu, Dec 28, 2006 at 02:29:26AM -0800, Andrew Morton wrote: > On Thu, 28 Dec 2006 15:19:04 +0800 > Fengguang Wu <[EMAIL PROTECTED]> wrote: > > > Yanmin: I've been using the fadvise tool from > > http://www.zip.com.au/~akpm/linux/patches/stuff/ext3-tools.tar.gz > > > > It's a nice tool: > > > >

Re: [PATCH] drop page cache of a single file

2006-12-28 Thread Russell King
On Thu, Dec 28, 2006 at 02:29:26AM -0800, Andrew Morton wrote: > On Thu, 28 Dec 2006 15:19:04 +0800 > Fengguang Wu <[EMAIL PROTECTED]> wrote: > > Yanmin: I've been using the fadvise tool from > > http://www.zip.com.au/~akpm/linux/patches/stuff/ext3-tools.tar.gz > > > > It's a nice tool: > > > > %

Re: [PATCH] drop page cache of a single file

2006-12-28 Thread Andrew Morton
On Thu, 28 Dec 2006 15:19:04 +0800 Fengguang Wu <[EMAIL PROTECTED]> wrote: > On Wed, Dec 27, 2006 at 07:49:59PM -0800, Andrew Morton wrote: > > On Thu, 28 Dec 2006 11:17:25 +0800 > > "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > > > > > Currently, by /proc/sys/vm/drop_caches, applications could dr

Re: [PATCH] drop page cache of a single file

2006-12-27 Thread Fengguang Wu
On Wed, Dec 27, 2006 at 07:49:59PM -0800, Andrew Morton wrote: > On Thu, 28 Dec 2006 11:17:25 +0800 > "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > > > Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, > > slab(dentries and inodes), or both, but applications couldn't choose

Re: [PATCH] drop page cache of a single file

2006-12-27 Thread Andrew Morton
On Thu, 28 Dec 2006 11:17:25 +0800 "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, > slab(dentries and inodes), or both, but applications couldn't choose to > just drop the page cache of one file. An user of VOD (Video-On-Dema

[PATCH] drop page cache of a single file

2006-12-27 Thread Zhang, Yanmin
Currently, by /proc/sys/vm/drop_caches, applications could drop pagecache, slab(dentries and inodes), or both, but applications couldn't choose to just drop the page cache of one file. An user of VOD (Video-On-Demand) needs this capability to have more detailed control on page cache release. Below