[PATCH v3 07/10] ARM: defconfig: turn off highmem in favor of CONFIG_VMSPLIT_2G_OPT

Linus Walleij linusw at kernel.org
Thu Nov 26 05:28:30 PST 2026


On Mon, Nov 16, 2026 at 1:49 PM Arnd Bergmann <arnd at kernel.org> wrote:

> From: Arnd Bergmann <arnd at arndb.de>
>
> The multi_v7_defconfig and omap2plus_defconfig attempt to support a
> broad range of hardware. This is at odds with the setting for highmem
> being slowly phased out on the one hand but still enabled by means of
> CONFIG_ARCH_OMAP2PLUS_TYPICAL, leading to a default CONFIG_VMSPLIT_2G_OPT
> split.
>
> None of the upstream OMAP2+ DTS files actually list more than 2GiB
> of RAM, so it seems fine to just turn off highmem by default and use
> CONFIG_VMSPLIT_2G_OPT from the defconfig to still support the same
> hardware but not require highmem.
>
> This also changes multi_v7_defconfig, which currently supports all sorts
> of ARMv7 systems except those that require LPAE.
>
> The best comprimise I can think of again is to use VMSPLIT_2G_OPT in
> place of highmem. Compared to highmem configurations, this should be
> an improvement on most machines with 2GiB of installed memory for the
> lower overhead and complexity, but it does degrade machines that rely
> on highmem to access all memory, as well as reduce the available user
> address space (1.75GiB instead of the traditional 3GiB).
>
> For aspeed_g5_defconfig, the decision is trivial, as there are no
> 4GiB configurations we need to support, but g6 is known to use
> up to 2GiB.
>
> If you run into problems on production machines with the new default,
> with the absence of highmem, or the smaller user area, please complain.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list