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

Dennis Zhou
2022-10-24T18:21:41Z

On Mon, Oct 24, 2022 at 04:14:28PM +0800, Baoquan He wrote:
> 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
>
>

Acked-by: Dennis Zhou <dennis@kernel.org>

Thanks,
Dennis