Re: [PATCH v3 10/26] x86/numa: simplify numa_distance allocation

2024-08-06 Thread David Hildenbrand
On 01.08.24 08:08, Mike Rapoport wrote: From: "Mike Rapoport (Microsoft)" Allocation of numa_distance uses memblock_phys_alloc_range() to limit allocation to be below the last mapped page. But NUMA initializaition runs after the direct map is populated and there is also code in setup_arch() th

Re: [PATCH v3 10/26] x86/numa: simplify numa_distance allocation

2024-08-02 Thread Jonathan Cameron
On Thu, 1 Aug 2024 09:08:10 +0300 Mike Rapoport wrote: > From: "Mike Rapoport (Microsoft)" > > Allocation of numa_distance uses memblock_phys_alloc_range() to limit > allocation to be below the last mapped page. > > But NUMA initializaition runs after the direct map is populated and > there i

[PATCH v3 10/26] x86/numa: simplify numa_distance allocation

2024-07-31 Thread Mike Rapoport
From: "Mike Rapoport (Microsoft)" Allocation of numa_distance uses memblock_phys_alloc_range() to limit allocation to be below the last mapped page. But NUMA initializaition runs after the direct map is populated and there is also code in setup_arch() that adjusts memblock limit to reflect how m