From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751199AbdJCBWs (ORCPT ); Mon, 2 Oct 2017 21:22:48 -0400 Received: from ozlabs.org ([103.22.144.67]:52387 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbdJCBWq (ORCPT ); Mon, 2 Oct 2017 21:22:46 -0400 From: Michael Ellerman To: Zhen Lei , Catalin Marinas , Will Deacon , linux-kernel , linux-api , Greg Kroah-Hartman , Michal Hocko , linux-mm Cc: Tianhong Ding , Hanjun Guo , Libin , Kefeng Wang , Zhen Lei Subject: Re: [PATCH v2 1/1] mm: only dispaly online cpus of the numa node In-Reply-To: <1506678805-15392-2-git-send-email-thunder.leizhen@huawei.com> References: <1506678805-15392-1-git-send-email-thunder.leizhen@huawei.com> <1506678805-15392-2-git-send-email-thunder.leizhen@huawei.com> Date: Tue, 03 Oct 2017 12:22:44 +1100 Message-ID: <8760bxdnyz.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Unfortunately, both Linux > documentation and numactl manual have not described it clear. FWIW powerpc happens to implement the x86 behaviour, online CPUs only. cheers