From 0795fb53c0064bcc5f19da444485b8159f21ed95 Mon Sep 17 00:00:00 2001 From: Gionatan Danti Date: Sat, 29 Jun 2024 21:51:29 +0200 Subject: [PATCH] Update man page about zfs_arc_shrinker_limit ignore Signed-off-by: Gionatan Danti --- man/man4/zfs.4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/man4/zfs.4 b/man/man4/zfs.4 index 3f7485fa78ca..02f1b838f15c 100644 --- a/man/man4/zfs.4 +++ b/man/man4/zfs.4 @@ -820,7 +820,9 @@ only operates during memory pressure/reclaim. This is a limit on how many pages the ARC shrinker makes available for eviction in response to one page allocation attempt. Note that in practice, the kernel's shrinker can ask us to evict -up to about four times this for one allocation attempt. +up to about four times this for one allocation attempt. To limit +OOM risk, this parameters is ignored if the kernel is in direct +reclaim mode. .Pp The default limit of .Sy 10000 Pq in practice, Em 160 MiB No per allocation attempt with 4 KiB pages