[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8d0b5818-b3dc-4211-8cdf-92e7b76e0fe5@roeck-us.net>
Date: Fri, 22 Mar 2024 13:53:11 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Uladzislau Rezki <urezki@...il.com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, Baoquan He <bhe@...hat.com>,
Lorenzo Stoakes <lstoakes@...il.com>, Christoph Hellwig <hch@...radead.org>,
Matthew Wilcox <willy@...radead.org>,
"Liam R . Howlett" <Liam.Howlett@...cle.com>,
Dave Chinner <david@...morbit.com>, "Paul E . McKenney"
<paulmck@...nel.org>, Joel Fernandes <joel@...lfernandes.org>,
Oleksiy Avramchenko <oleksiy.avramchenko@...y.com>
Subject: Re: [PATCH v3 07/11] mm: vmalloc: Offload free_vmap_area_lock lock
On 3/22/24 12:03, Uladzislau Rezki wrote:
[ ... ]
> <snip>
> diff --git a/mm/vmalloc.c b/mm/vmalloc.c
> index 22aa63f4ef63..0d77d171b5d9 100644
> --- a/mm/vmalloc.c
> +++ b/mm/vmalloc.c
> @@ -2343,6 +2343,9 @@ struct vmap_area *find_vmap_area(unsigned long addr)
> struct vmap_area *va;
> int i, j;
>
> + if (unlikely(!vmap_initialized))
> + return NULL;
> +
> /*
> * An addr_to_node_id(addr) converts an address to a node index
> * where a VA is located. If VA spans several zones and passed
> <snip>
>
> Could you please test it?
>
That fixes the problem.
Thanks,
Guenter
Powered by blists - more mailing lists