Thread (5 messages) 5 messages, 2 authors, 2025-08-18

Re: [PATCH] mm/numa: Rename memory_add_physaddr_to_nid to memory_get_phys_to_nid

From: David Hildenbrand <hidden>
Date: 2025-08-18 06:59:06
Also in: linux-acpi, linux-cxl, linux-hyperv, linux-mm, linux-s390, lkml, nvdimm, virtualization, xen-devel

On 18.08.25 08:41, pratyush.brahma@oss.qualcomm.com wrote:
From: Pratyush Brahma <redacted>

The function `memory_add_physaddr_to_nid` seems a misnomer.
It does not to "add" a physical address to a NID mapping,
but rather it gets the NID associated with a given physical address.
You probably misunderstood what the function is used for: memory hotplug 
aka "memory_add".

This patch is making matters worse by stripping that detail, unfortunately.


-- 
Cheers

David / dhildenb

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help