[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1b857914-bc1d-4b9a-b3f1-4eabd8db9810@app.fastmail.com>
Date: Tue, 27 Feb 2024 16:48:29 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Christophe Leroy" <christophe.leroy@...roup.eu>,
"Samuel Holland" <samuel.holland@...ive.com>,
"Arnd Bergmann" <arnd@...nel.org>, "Thomas Gleixner" <tglx@...utronix.de>,
"Vincenzo Frascino" <vincenzo.frascino@....com>,
"Kees Cook" <keescook@...omium.org>,
"Anna-Maria Gleixner" <anna-maria@...utronix.de>
Cc: "x86@...nel.org" <x86@...nel.org>,
"loongarch@...ts.linux.dev" <loongarch@...ts.linux.dev>,
"Andreas Larsson" <andreas@...sler.com>,
"Catalin Marinas" <catalin.marinas@....com>,
"linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
"Max Filippov" <jcmvbkbc@...il.com>, guoren <guoren@...nel.org>,
"sparclinux@...r.kernel.org" <sparclinux@...r.kernel.org>,
"linux-hexagon@...r.kernel.org" <linux-hexagon@...r.kernel.org>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"Jan Kiszka" <jan.kiszka@...mens.com>,
"linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>,
"linux-sh@...r.kernel.org" <linux-sh@...r.kernel.org>,
"Richard Weinberger" <richard@....at>, "Helge Deller" <deller@....de>,
"Huacai Chen" <chenhuacai@...nel.org>,
"Russell King" <linux@...linux.org.uk>,
"linux-csky@...r.kernel.org" <linux-csky@...r.kernel.org>,
"Geert Uytterhoeven" <geert@...ux-m68k.org>,
"Vineet Gupta" <vgupta@...nel.org>, "Matt Turner" <mattst88@...il.com>,
"linux-snps-arc@...ts.infradead.org"
<linux-snps-arc@...ts.infradead.org>,
"linux-alpha@...r.kernel.org" <linux-alpha@...r.kernel.org>,
"Kieran Bingham" <kbingham@...nel.org>,
"linux-um@...ts.infradead.org" <linux-um@...ts.infradead.org>,
"linux-m68k@...ts.linux-m68k.org" <linux-m68k@...ts.linux-m68k.org>,
"Andy Lutomirski" <luto@...nel.org>,
"John Paul Adrian Glaubitz" <glaubitz@...sik.fu-berlin.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "Brian Cain" <bcain@...cinc.com>,
"Michal Simek" <monstr@...str.eu>,
"Thomas Bogendoerfer" <tsbogend@...ha.franken.de>,
"linux-parisc@...r.kernel.org" <linux-parisc@...r.kernel.org>,
"linux-openrisc@...r.kernel.org" <linux-openrisc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Palmer Dabbelt" <palmer@...belt.com>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"linuxppc-dev@...ts.ozlabs.org" <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH 1/4] arch: consolidate existing CONFIG_PAGE_SIZE_*KB definitions
On Tue, Feb 27, 2024, at 16:44, Christophe Leroy wrote:
> Le 27/02/2024 à 16:40, Arnd Bergmann a écrit :
>> On Mon, Feb 26, 2024, at 17:55, Samuel Holland wrote:
>
>
> For 256K pages, powerpc has the following help. I think you should have
> it too:
>
> The kernel will only be able to run applications that have been
> compiled with '-zmax-page-size' set to 256K (the default is 64K) using
> binutils later than 2.17.50.0.3, or by patching the ELF_MAXPAGESIZE
> definition from 0x10000 to 0x40000 in older versions.
I don't think we need to mention pre-2.18 binutils any more, but the
rest seems useful, changed the text now to
config PAGE_SIZE_256KB
bool "256KiB pages"
depends on HAVE_PAGE_SIZE_256KB
help
256KiB pages have little practical value due to their extreme
memory usage. The kernel will only be able to run applications
that have been compiled with '-zmax-page-size' set to 256KiB
(the default is 64KiB or 4KiB on most architectures).
Arnd
Powered by blists - more mailing lists