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] [thread-next>] [day] [month] [year] [list]
Message-Id: <12520d82-d858-4067-b9ef-baddb596ee56@app.fastmail.com>
Date: Fri, 28 Nov 2025 14:57:26 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Huacai Chen" <chenhuacai@...ngson.cn>,
 "Huacai Chen" <chenhuacai@...nel.org>
Cc: loongarch@...ts.linux.dev, "Xuefeng Li" <lixuefeng@...ngson.cn>,
 guoren <guoren@...nel.org>, "WANG Xuerui" <kernel@...0n.name>,
 "Jiaxun Yang" <jiaxun.yang@...goat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V4 14/14] LoongArch: Adjust build infrastructure for 32BIT/64BIT

On Thu, Nov 27, 2025, at 16:48, Huacai Chen wrote:
> 
> +config 4KB_2LEVEL
> +	bool "4KB with 2 levels"
> +	select HAVE_PAGE_SIZE_4KB
> +	select PGTABLE_2LEVEL
> +	help
> +	  This option selects 16KB page size with 2 level page tables, which
> +	  support a maximum of 32 bits of application virtual memory.
> +

I just noticed this inconsistency: the text says 16KB pages, the
option says 4KB, so one of them is wrong. Usually 4KB pages have
a 32-bit address space (using 32-bit descriptors), so I assume
this one is correct.

      arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ