Re: [PATCH 2/2] dax/kmem: Update spanned page stat of origin device node

2022-01-26 Thread kernel test robot
Hi Jonghyeon, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] url: https://github.com/0day-ci/linux/commits/Jonghyeon-Kim/mm-memory_hotplug-Export-shrink-span-functions-for-zone-and-node/20220127-010219 base: https://github.com/hnaz/linux-mm

Re: [PATCH 2/2] dax/kmem: Update spanned page stat of origin device node

2022-01-26 Thread kernel test robot
Hi Jonghyeon, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-mm/master] url: https://github.com/0day-ci/linux/commits/Jonghyeon-Kim/mm-memory_hotplug-Export-shrink-span-functions-for-zone-and-node/20220127-010219 base: https://github.com/hnaz/linux-mm

Re: [PATCH 1/2] mm/memory_hotplug: Export shrink span functions for zone and node

2022-01-26 Thread David Hildenbrand
On 26.01.22 18:00, Jonghyeon Kim wrote: > Export shrink_zone_span() and update_pgdat_span() functions to head > file. We need to update real number of spanned pages for NUMA nodes and > zones when we add memory device node such as device dax memory. > Can you elaborate a bit more what you intend

[PATCH 2/2] dax/kmem: Update spanned page stat of origin device node

2022-01-26 Thread Jonghyeon Kim
When device memory adds to the online NUMA node, the number of spanned pages of the original device NUMA node should be updated. By this patch, we can monitor the current spanned pages of each node more accurately. Signed-off-by: Jonghyeon Kim --- drivers/dax/kmem.c | 14 ++ 1 file

[PATCH 1/2] mm/memory_hotplug: Export shrink span functions for zone and node

2022-01-26 Thread Jonghyeon Kim
Export shrink_zone_span() and update_pgdat_span() functions to head file. We need to update real number of spanned pages for NUMA nodes and zones when we add memory device node such as device dax memory. Signed-off-by: Jonghyeon Kim --- include/linux/memory_hotplug.h | 3 +++