Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755852AbcCCCIv (ORCPT ); Wed, 2 Mar 2016 21:08:51 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:33077 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755216AbcCCCIs (ORCPT ); Wed, 2 Mar 2016 21:08:48 -0500 MIME-Version: 1.0 In-Reply-To: <1456969327-20011-1-git-send-email-zhugh.fnst@cn.fujitsu.com> References: <1456969327-20011-1-git-send-email-zhugh.fnst@cn.fujitsu.com> Date: Thu, 3 Mar 2016 03:08:46 +0100 X-Google-Sender-Auth: fizLjRD9wSph4rxWhCYuTISkDUo Message-ID: Subject: Re: [RESEND PATCH v5 0/5] Make cpuid <-> nodeid mapping persistent From: "Rafael J. Wysocki" To: Zhu Guihua Cc: cl@linux.com, Tejun Heo , mika.j.penttila@gmail.com, Ingo Molnar , Andrew Morton , "Rafael J. Wysocki" , "H. Peter Anvin" , yasu.isimatu@gmail.com, isimatu.yasuaki@jp.fujitsu.com, kamezawa.hiroyu@jp.fujitsu.com, izumi.taku@jp.fujitsu.com, gongzhaogang@inspur.com, Len Brown , Len Brown , Thomas Gleixner , chen.tang@easystack.cn, x86@kernel.org, ACPI Devel Maling List , Linux Kernel Mailing List , Linux Memory Management List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 565 Lines: 17 Hi, On Thu, Mar 3, 2016 at 2:42 AM, Zhu Guihua wrote: > [Problem] > > cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches > the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. > > When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed, > which means, cpuid <-> nodeid mapping will change if node hotplug happens. But > workqueue does not update wq_numa_possible_cpumask. > Are there any changes in this version relative to the previous one? Thanks, Rafael