summaryrefslogtreecommitdiff
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2022-10-24 11:14:34 +0300
committerDennis Zhou <dennis@kernel.org>2022-11-08 09:59:28 +0300
commitd667c94962c1c81ef587ac91dc5c01a1cfe339c7 (patch)
tree89f22ce3e96ade9956d1f7993672e9bdfb87aff2 /include/linux/percpu.h
parent3289e0533e70aafa9fb6d128fd4452db1b8befe8 (diff)
downloadlinux-d667c94962c1c81ef587ac91dc5c01a1cfe339c7.tar.xz
mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS
Since commit 40064aeca35c ("percpu: replace area map allocator with bitmap"), there's no place to use PERCPU_DYNAMIC_EARLY_SLOTS. So clean it up. Signed-off-by: Baoquan He <bhe@redhat.com> Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index f1ec5ad1351c..70bc17db00a6 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -37,11 +37,10 @@
/*
* Percpu allocator can serve percpu allocations before slab is
* initialized which allows slab to depend on the percpu allocator.
- * The following two parameters decide how much resource to
- * preallocate for this. Keep PERCPU_DYNAMIC_RESERVE equal to or
- * larger than PERCPU_DYNAMIC_EARLY_SIZE.
+ * The following parameter decide how much resource to preallocate
+ * for this. Keep PERCPU_DYNAMIC_RESERVE equal to or larger than
+ * PERCPU_DYNAMIC_EARLY_SIZE.
*/
-#define PERCPU_DYNAMIC_EARLY_SLOTS 128
#define PERCPU_DYNAMIC_EARLY_SIZE (12 << 10)
/*