aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/uma.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2002-03-20 05:28:34 +0000
committerJeff Roberson <jeff@FreeBSD.org>2002-03-20 05:28:34 +0000
commit736ee5907f3de3559a85fbb0c12b75d10d4f4c90 (patch)
tree2bde23573b4710d2ce6cbe8b09b39802f83ecc04 /sys/vm/uma.h
parent21d7ec8915a4a1f75e2b613a81144eaa0bd69abd (diff)
Notes
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r--sys/vm/uma.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h
index be2c90b92ab0..0797519ab34d 100644
--- a/sys/vm/uma.h
+++ b/sys/vm/uma.h
@@ -359,6 +359,16 @@ void uma_reclaim(void);
struct vm_object;
int uma_zone_set_obj(uma_zone_t zone, struct vm_object *obj, int size);
+/*
+ * Sets a high limit on the number of items allowed in a zone
+ *
+ * Arguments:
+ * zone The zone to limit
+ *
+ * Returns:
+ * Nothing
+ */
+void uma_zone_set_max(uma_zone_t zone, int nitems);
/*
* Replaces the standard page_alloc or obj_alloc functions for this zone