]> git.dujemihanovic.xyz Git - linux.git/commitdiff
mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS
authorBaoquan He <bhe@redhat.com>
Mon, 24 Oct 2022 08:14:34 +0000 (16:14 +0800)
committerDennis Zhou <dennis@kernel.org>
Tue, 8 Nov 2022 06:59:28 +0000 (22:59 -0800)
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>
include/linux/percpu.h

index f1ec5ad1351cc1cb2a408848c8e4ad32035ff7bf..70bc17db00a6ef4732f34a932bbfd5c56e0566eb 100644 (file)
 /*
  * 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)
 
 /*