summaryrefslogtreecommitdiffstats
path: root/module/spl/spl-kmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl/spl-kmem.c')
-rw-r--r--module/spl/spl-kmem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
index 00d37c798..79a7028c2 100644
--- a/module/spl/spl-kmem.c
+++ b/module/spl/spl-kmem.c
@@ -1826,9 +1826,9 @@ spl_kmem_init_globals(void)
if (!populated_zone(zone))
continue;
- minfree += zone->pages_min;
- desfree += zone->pages_low;
- lotsfree += zone->pages_high;
+ minfree += min_wmark_pages(zone);
+ desfree += low_wmark_pages(zone);
+ lotsfree += high_wmark_pages(zone);
}
/* Solaris default values */