[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 18.08.25 08:41, pratyush.brahma@xxxxxxxxxxxxxxxx wrote:
From: Pratyush Brahma <pratyush.brahma@xxxxxxxxxxxxxxxx>

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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.