Re: [PATCH 1/2] arm64: avoid alloc memory on offline node

From: Michal Hocko
Date: Tue Jun 12 2018 - 11:21:11 EST


On Tue 12-06-18 16:08:03, Punit Agrawal wrote:
> Michal Hocko <mhocko@xxxxxxxxxx> writes:
[...]
> > Well, the standard way to handle memory less NUMA nodes is to simply
> > fallback to the closest NUMA node. We even have an API for that
> > (numa_mem_id).
>
> CONFIG_HAVE_MEMORYLESS node is not enabled on arm64 which means we end
> up returning the original node in the fallback path.

Yes this makes more sense.
--
Michal Hocko
SUSE Labs