1
0
Files
linux/debian/patches/patchset-xanmod/xanmod/0009-XANMOD-vfs-Decrease-rate-at-which-vfs-caches-are-rec.patch

23 lines
741 B
Diff

From 29bff014ffe0d6179dadb9d7882632c57d93822c Mon Sep 17 00:00:00 2001
From: Alexandre Frade <kernel@xanmod.org>
Date: Mon, 28 Jul 2025 17:20:16 +0000
Subject: [PATCH 13/20] XANMOD: vfs: Decrease 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;
static int sysctl_vfs_cache_pressure_denom __read_mostly = 100;
unsigned long vfs_pressure_ratio(unsigned long val)