[PATCH 1/8] mm/percpu: remove unused pcpu_map_extend_chunks

Baoquan He
2022-10-24T08:14:53Z

Since commit 40064aeca35c ("percpu: replace area map allocator with
bitmap"), it is unneeded.

Signed-off-by: Baoquan He <bhe@redhat.com>
---
mm/percpu.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index 27697b2429c2..26d8cd2ca323 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -174,9 +174,6 @@ static DEFINE_MUTEX(pcpu_alloc_mutex); /* chunk create/destroy, [de]pop, map ext

struct list_head *pcpu_chunk_lists __ro_after_init; /* chunk list slots */

-/* chunks which need their map areas extended, protected by pcpu_lock */
-static LIST_HEAD(pcpu_map_extend_chunks);
-
/*
* The number of empty populated pages, protected by pcpu_lock.
* The reserved chunk doesn't contribute to the count.
--
2.34.1