[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAhV-H40yf7Sb=x0muVT_DCg9D6YcEDTsfxY4kRQLHt0N5JYSw@mail.gmail.com>
Date: Fri, 28 Nov 2025 22:27:48 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Huacai Chen <chenhuacai@...ngson.cn>, 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 Fri, Nov 28, 2025 at 9:57 PM Arnd Bergmann <arnd@...db.de> wrote:
>
> 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.
Yes, 4KB is correct, thank you for pointing out.
Huacai
>
> arnd
>
Powered by blists - more mailing lists