From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751676AbdFGJZe (ORCPT ); Wed, 7 Jun 2017 05:25:34 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:7764 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478AbdFGJZc (ORCPT ); Wed, 7 Jun 2017 05:25:32 -0400 From: "Leizhen (ThunderTown)" Subject: [Question or BUG] [NUMA]: I feel puzzled at the function cpumask_of_node To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Catalin Marinas , "Will Deacon" , linux-arm-kernel , linux-mm , linux-kernel , chenchunxiao , x86l Message-ID: <5937C608.7010905@huawei.com> Date: Wed, 7 Jun 2017 17:23:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020206.5937C616.0143,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: b23e06c1f23657bf74015e1be2267d94 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When I executed numactl -H(print cpumask_of_node for each node), 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. Actually, all other ARCHs is the same to ARM64. So, my question is: Which case(online or possible) should function cpumask_of_node be? Or there is no matter about it? -- Thanks! BestRegards