lkml.org 
[lkml]   [2014]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sysctl: Add a feature to drop caches selectively
On Tue, 24 Jun 2014, Maksym Planeta wrote:

> To clean the page cache one can use /proc/sys/vm/drop_caches. But this
> drops the whole page cache. In contrast to that sdrop_caches enables
> ability to drop the page cache selectively by path string.
>
> Suggested-by: Thomas Knauth <thomas.knauth@gmx.de>
> Signed-off-by: Maksym Planeta <mcsim.planeta@gmail.com>

Could you include some information in the commit message about why this is
useful? Specifically, why you want to drop pagecache only from a specific
path.

The name of the sysctl is also quite non-descriptive.


\
 
 \ /
  Last update: 2014-06-25 00:41    [W:0.117 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site