diff options
-rw-r--r-- | sys/vm/uma_core.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index eaa2faf..5b83ec3 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -272,10 +272,7 @@ SYSCTL_PROC(_vm, OID_AUTO, zone_stats, CTLFLAG_RD|CTLTYPE_STRUCT, static void bucket_enable(void) { - if (cnt.v_free_count < cnt.v_free_min) - bucketdisable = 1; - else - bucketdisable = 0; + bucketdisable = vm_page_count_min(); } /* |