aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-07-25 13:49:49 -0400
committerGitHub <[email protected]>2020-07-25 10:49:49 -0700
commitd364de7a89dc339aad1bc20d429dc670e61dc1ff (patch)
tree6503a6b49bc97d1d59514fdf51a24ae7a72e2b33 /module
parentcb18d88060100ced29da1900f5a35e3deded0b36 (diff)
FreeBSD: Remove accidental ARC size limiter
i386 has some additional memory reservation logic that limits the size of the reported available memory. This was accidentally being used on all arches due to a missing header. Include machine/vmparam.h in freebsd/zfs/arc_os.c to pull in the missing UMA_MD_SMALL_ALLOC definition. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #10616
Diffstat (limited to 'module')
-rw-r--r--module/os/freebsd/zfs/arc_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/os/freebsd/zfs/arc_os.c b/module/os/freebsd/zfs/arc_os.c
index 7415be919..b3deff0f0 100644
--- a/module/os/freebsd/zfs/arc_os.c
+++ b/module/os/freebsd/zfs/arc_os.c
@@ -46,6 +46,7 @@
#include <sys/aggsum.h>
#include <sys/vnode.h>
#include <cityhash.h>
+#include <machine/vmparam.h>
extern struct vfsops zfs_vfsops;