Skip to content

Commit

Permalink
dcache: cache_pressure = 50 decreases the rate at which VFS caches ar…
Browse files Browse the repository at this point in the history
…e reclaimed

Signed-off-by: Alexandre Frade <admfrade@gmail.com>
  • Loading branch information
xanmod committed Dec 14, 2020
1 parent 0e96d54 commit 0534884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dcache.c
Expand Up @@ -71,7 +71,7 @@
* If no ancestor relationship:
* arbitrary, since it's serialized on rename_lock
*/
int sysctl_vfs_cache_pressure __read_mostly = 100;
int sysctl_vfs_cache_pressure __read_mostly = 50;
EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);

__cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
Expand Down

0 comments on commit 0534884

Please sign in to comment.