Commit d667c949 authored by Baoquan He's avatar Baoquan He Committed by Dennis Zhou

mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS

Since commit 40064aec ("percpu: replace area map allocator with
bitmap"), there's no place to use PERCPU_DYNAMIC_EARLY_SLOTS. So
clean it up.
Signed-off-by: default avatarBaoquan He <bhe@redhat.com>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
parent 3289e053
...@@ -37,11 +37,10 @@ ...@@ -37,11 +37,10 @@
/* /*
* Percpu allocator can serve percpu allocations before slab is * Percpu allocator can serve percpu allocations before slab is
* initialized which allows slab to depend on the percpu allocator. * initialized which allows slab to depend on the percpu allocator.
* The following two parameters decide how much resource to * The following parameter decide how much resource to preallocate
* preallocate for this. Keep PERCPU_DYNAMIC_RESERVE equal to or * for this. Keep PERCPU_DYNAMIC_RESERVE equal to or larger than
* larger than PERCPU_DYNAMIC_EARLY_SIZE. * PERCPU_DYNAMIC_EARLY_SIZE.
*/ */
#define PERCPU_DYNAMIC_EARLY_SLOTS 128
#define PERCPU_DYNAMIC_EARLY_SIZE (12 << 10) #define PERCPU_DYNAMIC_EARLY_SIZE (12 << 10)
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment