aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/multilist.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/multilist.c')
-rw-r--r--module/zfs/multilist.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/module/zfs/multilist.c b/module/zfs/multilist.c
index a3adfd317af6..36c0d33bf1f6 100644
--- a/module/zfs/multilist.c
+++ b/module/zfs/multilist.c
@@ -96,9 +96,12 @@ multilist_create_impl(size_t size, size_t offset,
}
/*
- * Allocate a new multilist, using the default number of sublists
- * (the number of CPUs, or at least 4, or the tunable
- * zfs_multilist_num_sublists).
+ * Allocate a new multilist, using the default number of sublists (the number
+ * of CPUs, or at least 4, or the tunable zfs_multilist_num_sublists). Note
+ * that the multilists do not expand if more CPUs are hot-added. In that case,
+ * we will have less fanout than boot_ncpus, but we don't want to always
+ * reserve the RAM necessary to create the extra slots for additional CPUs up
+ * front, and dynamically adding them is a complex task.
*/
multilist_t *
multilist_create(size_t size, size_t offset,