public inbox for linux-alpha@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] alpha: Select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
@ 2026-04-03 15:03 Matt Turner
  0 siblings, 0 replies; only message in thread
From: Matt Turner @ 2026-04-03 15:03 UTC (permalink / raw)
  To: Magnus Lindholm; +Cc: linux-alpha, linux-kernel, Matt Turner

Alpha has a clean split between user and kernel address spaces: user
space occupies 0x0000000000000000-0x000003ffffffffff (TASK_SIZE), while
kernel space uses KSEG and vmalloc regions near the top of the 64-bit
address space. These are strictly non-overlapping.

This enables optimizations in BPF and tracing that can skip address
range checks when user and kernel pointers are distinguishable by
address alone.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Matt Turner <mattst88@gmail.com>
---
 arch/alpha/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git ./arch/alpha/Kconfig ./arch/alpha/Kconfig
index d870529fa251..394e49328cb6 100644
--- ./arch/alpha/Kconfig
+++ ./arch/alpha/Kconfig
@@ -5,6 +5,7 @@ config ALPHA
 	select ARCH_32BIT_USTAT_F_TINODE
 	select ARCH_HAS_CURRENT_STACK_POINTER
 	select ARCH_HAS_DMA_OPS if PCI
+	select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
 	select ARCH_MIGHT_HAVE_PC_PARPORT
 	select ARCH_MIGHT_HAVE_PC_SERIO
 	select ARCH_MODULE_NEEDS_WEAK_PER_CPU if SMP
-- 
2.52.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-03 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 15:03 [PATCH] alpha: Select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox