From 5dccaad67714a4f522a6341d257d18be0fafbf5a Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 3 Oct 2023 18:02:12 -0700 Subject: [PATCH] abi/linux: fix TASK_SIZE in case of 5-level paging On x86, 5-level paging enables 56-bit userspace virtual address space. PiperOrigin-RevId: 570549277 --- pkg/abi/linux/mm_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/abi/linux/mm_amd64.go b/pkg/abi/linux/mm_amd64.go index e302c7514..3fede2f74 100644 --- a/pkg/abi/linux/mm_amd64.go +++ b/pkg/abi/linux/mm_amd64.go @@ -21,4 +21,4 @@ package linux // paging. // // The array has to be sorted in decreasing order. -var feasibleTaskSizes = []uintptr{0xffffffffff000, 0x7ffffffff000} +var feasibleTaskSizes = []uintptr{0xfffffffffff000, 0x7ffffffff000}