On Thu, 1 Aug 2024 09:08:07 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> There are no users of HAVE_ARCH_NODEDATA_EXTENSION left, so
> arch_alloc_nodedata() and arch_refresh_nodedata() are not needed
> anymore.
>
> Replace the call to arch_alloc_nodedata() in free_area_i
On Thu, 1 Aug 2024 09:08:09 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Architectures that support NUMA duplicate the code that allocates
> NODE_DATA on the node-local memory with slight variations in reporting
> of the addresses where the memory was allocated.
>
> Use
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
On Thu, 1 Aug 2024 09:08:17 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Move code dealing with numa_memblks from arch/x86 to mm/ and add Kconfig
> options to let x86 select it in its Kconfig.
>
> This code will be later reused by arch_numa.
>
> No functional changes.
>
On Thu, 1 Aug 2024 09:08:18 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Move code dealing with numa_distance array from arch/x86 to
> mm/numa_memblks.c
>
> This code will be later reused by arch_numa.
>
> No functional changes.
>
> Signed-off-by: Mike Rapoport (Micros
On Thu, 1 Aug 2024 09:08:11 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Instead of looping over numa_meminfo array to detect node's start and
> end addresses use get_pfn_range_for_init().
>
> This is shorter and make it easier to lift numa_memblks to generic code.
>
>
On Thu, 1 Aug 2024 09:08:20 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Move most of x86::numa_init() to numa_memblks so that the latter will be
> more self-contained.
>
> With this numa_memblk data structures should not be exposed to the
> architecture specific code.
>
On Thu, 1 Aug 2024 09:08:21 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Make functions and variables that are exclusively used by numa_memblks
> static.
>
> Move numa_nodemask_from_meminfo() before its callers to avoid forward
> declaration.
>
> Signed-off-by: Mike Rap
On Thu, 1 Aug 2024 09:08:22 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> numa_cleanup_meminfo() moves blocks outside system RAM to
> numa_reserved_meminfo and it uses 0 and PFN_PHYS(max_pfn) to determine
> the memory boundaries.
>
> Replace the memory range boundaries wi
On Thu, 1 Aug 2024 09:08:19 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Move numa_emulation codfrom arch/x86 to mm/numa_emulation.c
>
> This code will be later reused by arch_numa.
>
> No functional changes.
>
> Signed-off-by: Mike Rapoport (Microsoft)
> Tested-by: Z
On Thu, 1 Aug 2024 09:08:23 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Currently of_numa_parse_memory_nodes() returns 0 if no "memory" node in
> device tree contains "numa-node-id" property. This makes of_numa_init()
> to return "success" despite no NUMA nodes were actu
On Thu, 1 Aug 2024 09:08:24 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Until now arch_numa was directly translating firmware NUMA information
> to memblock.
>
> Using numa_memblks as an intermediate step has a few advantages:
> * alignment with more battle tested x86 i
On Thu, 1 Aug 2024 09:08:26 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> NUMA emulation can be now enabled on arm64 and riscv in addition to x86.
>
> Move description of numa=fake parameters from x86 documentation of
> admin-guide/kernel-parameters.txt
>
> Suggested-by:
On Thu, 1 Aug 2024 09:08:00 +0300
Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)"
>
> Hi,
>
> Following the discussion about handling of CXL fixed memory windows on
> arm64 [1] I decided to bite the bullet and move numa_memblks from x86 to
> the generic code so they will be available
++ nvdimm, linux-cxl, Yu Zhang
On Wed, Jun 05, 2024 at 10:27:51PM +, Sourav Panda wrote:
> Today, we do not have any observability of per-page metadata
> and how much it takes away from the machine capacity. Thus,
> we want to describe the amount of memory that is going towards
> per-page meta
15 matches
Mail list logo