23 lines
707 B
Diff
23 lines
707 B
Diff
From 185191cd2a98629f35cb5cd6c0116ceb33635dd8 Mon Sep 17 00:00:00 2001
|
|
From: Alexandre Frade <kernel@xanmod.org>
|
|
Date: Mon, 29 Jan 2018 16:59:22 +0000
|
|
Subject: [PATCH 12/19] XANMOD: dcache: cache_pressure = 50 decreases the rate
|
|
at which VFS caches are reclaimed
|
|
|
|
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
|
---
|
|
fs/dcache.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/fs/dcache.c
|
|
+++ b/fs/dcache.c
|
|
@@ -73,7 +73,7 @@
|
|
* If no ancestor relationship:
|
|
* arbitrary, since it's serialized on rename_lock
|
|
*/
|
|
-static int sysctl_vfs_cache_pressure __read_mostly = 100;
|
|
+static int sysctl_vfs_cache_pressure __read_mostly = 50;
|
|
|
|
unsigned long vfs_pressure_ratio(unsigned long val)
|
|
{
|