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]
Message-ID: <ZciFwCU9kz7Uko9j@kernel.org>
Date: Sun, 11 Feb 2024 10:30:56 +0200
From: Mike Rapoport <rppt@...nel.org>
To: Anshuman Khandual <anshuman.khandual@....com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/memblock: Add MEMBLOCK_RSRV_NOINIT into flagname[]
 array

On Fri, Feb 09, 2024 at 08:39:12AM +0530, Anshuman Khandual wrote:
> The commit 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag")
> skipped adding this newly introduced memblock flag into flagname[] array,
> thus preventing a correct memblock flags output for applicable memblock
> regions.
> 
> Cc: Mike Rapoport <rppt@...nel.org>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: linux-mm@...ck.org
> Cc: linux-kernel@...r.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual@....com>

Fixes: 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag")
Reviewed-by: Mike Rapoport (IBM) <rppt@...nel.org>

> ---
> This applies on v6.8-rc3
> 
>  mm/memblock.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/mm/memblock.c b/mm/memblock.c
> index 4dcb2ee35eca..d9f4b82cbffe 100644
> --- a/mm/memblock.c
> +++ b/mm/memblock.c
> @@ -2249,6 +2249,7 @@ static const char * const flagname[] = {
>  	[ilog2(MEMBLOCK_MIRROR)] = "MIRROR",
>  	[ilog2(MEMBLOCK_NOMAP)] = "NOMAP",
>  	[ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG",
> +	[ilog2(MEMBLOCK_RSRV_NOINIT)] = "RSV_NIT",
>  };
>  
>  static int memblock_debug_show(struct seq_file *m, void *private)
> -- 
> 2.25.1
> 

-- 
Sincerely yours,
Mike.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ