summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-07-07 23:59:42 +0000
committerRichard Braun <rbraun@sceen.net>2012-07-07 23:59:42 +0000
commit27150b21c3366d6b474fe3e69140ecac65ab7ed2 (patch)
tree0c6ac227a994a07776e1aa5ad96dda5f048ac875 /kern
parent43d2ad0d2043a278a2772519013f25a0bc4b067f (diff)
Increase the slab collection interval
* kern/slab.c (KMEM_GC_INTERVAL): Increase to 5 seconds.
Diffstat (limited to 'kern')
-rw-r--r--kern/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/slab.c b/kern/slab.c
index 12e4ff4..ea38eb0 100644
--- a/kern/slab.c
+++ b/kern/slab.c
@@ -132,7 +132,7 @@
/*
* Time (in seconds) between two garbage collection operations.
*/
-#define KMEM_GC_INTERVAL (1 * hz)
+#define KMEM_GC_INTERVAL (5 * hz)
/*
* The transfer size of a CPU pool is computed by dividing the pool size by