Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753835Ab2JRD3H (ORCPT ); Wed, 17 Oct 2012 23:29:07 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:42341 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420Ab2JRD3F (ORCPT ); Wed, 17 Oct 2012 23:29:05 -0400 Date: Wed, 17 Oct 2012 20:29:02 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Tang Chen cc: Andrew Morton , Peter Zijlstra , mingo@redhat.com, miaox@cn.fujitsu.com, wency@cn.fujitsu.com, linux-kernel@vger.kernel.org, linux-numa@vger.kernel.org Subject: Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node. In-Reply-To: <507F6EB3.7030705@cn.fujitsu.com> Message-ID: References: <1349665183-11718-1-git-send-email-tangchen@cn.fujitsu.com> <1349780256.7880.12.camel@twins> <1349815676.7880.85.camel@twins> <1349860216.7880.105.camel@twins> <20121010133709.7eaefcdb.akpm@linux-foundation.org> <507F6EB3.7030705@cn.fujitsu.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 26 On Thu, 18 Oct 2012, Tang Chen wrote: > We are working on this problem. Since it is complicated, it really > takes us some time. Sorry for the delay. :) > > Actually, we intend to clear cpu-to-node mappings when a whole node is > removed. But the node hot-plug code is still under development, so I > think Wen will send a fix patch soon. :) > Ok, thanks for the update. I agree that we should be clearing the mapping at node hot-remove since any cpu that would subsequently get onlined and assume one of the previous cpu's ids is not guaranteed to have the same affinity. I'm just really hoping that we don't touch the acpi code and that we can remove both cpu_hotplug-unmap-cpu2node-when-the-cpu-is-hotremoved.patch and cpu_hotplug-unmap-cpu2node-when-the-cpu-is-hotremoved-fix.patch from -mm. Thanks again! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/