Re: [PATCH v4 01/14] mm: decouple protnone helpers from CONFIG_NUMA_BALANCING

From: Kiryl Shutsemau

Date: Mon May 25 2026 - 10:42:20 EST


On Mon, May 25, 2026 at 12:06:39PM +0000, sashiko-bot@xxxxxxxxxx wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [High] Unconditional selection of ARCH_HAS_PTE_PROTNONE on LoongArch
> causes boot-time warnings/panics in debug_vm_pgtable on 32-bit
> configurations.

Confirmed. Will fix in v5 with:

- select ARCH_HAS_PTE_PROTNONE
+ select ARCH_HAS_PTE_PROTNONE if 64BIT

matching the x86 ("if X86_64") and riscv ("if MMU") patterns.

> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20260525113737.1942478-1-kas@xxxxxxxxxx?part=1

--
Kiryl Shutsemau / Kirill A. Shutemov