Skip to content

Commit

Permalink
Update man page about zfs_arc_shrinker_limit ignore
Browse files Browse the repository at this point in the history
Signed-off-by: Gionatan Danti <[email protected]>
  • Loading branch information
shodanshok committed Jun 29, 2024
1 parent 3f6c9d6 commit 0795fb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion man/man4/zfs.4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0795fb5

Please sign in to comment.