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

2017-10-08 Thread Leizhen (ThunderTown)
On 2017/10/3 21:56, Michal Hocko wrote: > On Tue 03-10-17 14:47:26, Will Deacon wrote: >> On Mon, Oct 02, 2017 at 02:54:46PM -0700, Andrew Morton wrote: >>> On Mon, 2 Oct 2017 11:38:07 +0100 Will Deacon wrote: >>> > When I executed numactl -H(which read > /sys/devices/system/node/nodeX/

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

2017-10-03 Thread Michal Hocko
On Tue 03-10-17 14:47:26, Will Deacon wrote: > On Mon, Oct 02, 2017 at 02:54:46PM -0700, Andrew Morton wrote: > > On Mon, 2 Oct 2017 11:38:07 +0100 Will Deacon wrote: > > > > > > When I executed numactl -H(which read > > > > /sys/devices/system/node/nodeX/cpumap > > > > and display cpumask_of_no

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

2017-10-03 Thread Will Deacon
On Mon, Oct 02, 2017 at 02:54:46PM -0700, Andrew Morton wrote: > On Mon, 2 Oct 2017 11:38:07 +0100 Will Deacon wrote: > > > > 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 > > > X8

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

2017-10-02 Thread Michael Ellerman
Zhen Lei 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. Unfo

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

2017-10-02 Thread Andrew Morton
On Mon, 2 Oct 2017 11:38:07 +0100 Will Deacon wrote: > > 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

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

2017-10-02 Thread Will Deacon
[+akpm] Hi Thunder, On Fri, Sep 29, 2017 at 05:53:25PM +0800, Zhen Lei wrote: > 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 on

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

2017-09-29 Thread Zhen Lei
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 docum