lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ