Re: [PATCH v2 1/1] mm: only dispaly online cpus of the numa node

From: Michael Ellerman
Date: Mon Oct 02 2017 - 21:22:52 EST


Zhen Lei <thunder.leizhen@xxxxxxxxxx> writes:

> When I executed numactl -H(which read /sys/devices/system/node/nodeX/cpumap
> and display cpumask_of_node for each node), but I got different result on
> X86 and arm64. For each numa node, the former only displayed online CPUs,
> and the latter displayed all possible CPUs. Unfortunately, both Linux
> documentation and numactl manual have not described it clear.

FWIW powerpc happens to implement the x86 behaviour, online CPUs only.

cheers