linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: David Rientjes <rientjes@google.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	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.
Date: Fri, 19 Oct 2012 13:18:04 +0200	[thread overview]
Message-ID: <1350645484.30157.3.camel@twins> (raw)
In-Reply-To: <alpine.DEB.2.00.1210172027210.32271@chino.kir.corp.google.com>

On Wed, 2012-10-17 at 20:29 -0700, David Rientjes wrote:
> 
> 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.

Would this mean we have to remap (and memcpy) per-cpu memory on
node-plug?

> 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.

Yeah, none of this should be anywhere near ACPI, its got nothing to do
with ACPI. Furthermore it should be be same across all archs, not just
be weird and wonderful for x86.


      reply	other threads:[~2012-10-19 11:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-08  2:59 [PATCH] Do not use cpu_to_node() to find an offlined cpu's node Tang Chen
2012-10-09  6:21 ` David Rientjes
2012-10-09  8:34   ` Wen Congyang
2012-10-09  8:39     ` Tang Chen
2012-10-09 10:04       ` David Rientjes
2012-10-09 10:22         ` Wen Congyang
2012-10-09 20:00           ` David Rientjes
2012-10-09 10:57 ` Peter Zijlstra
2012-10-09 20:36   ` David Rientjes
2012-10-09 20:47     ` Peter Zijlstra
2012-10-09 23:27       ` David Rientjes
2012-10-10  2:06         ` Wen Congyang
2012-10-10  3:48           ` Wen Congyang
2012-10-10  9:10         ` Peter Zijlstra
2012-10-10  9:33           ` Wen Congyang
2012-10-10  9:51             ` Peter Zijlstra
2012-10-10 10:10               ` Wen Congyang
2012-10-10 10:07                 ` Peter Zijlstra
2012-10-10 20:30           ` David Rientjes
2012-10-10 20:37             ` Andrew Morton
2012-10-10 20:57               ` David Rientjes
2012-10-18  0:52                 ` David Rientjes
2012-10-18  2:51                   ` Tang Chen
2012-10-18  3:29                     ` David Rientjes
2012-10-19 11:18                       ` Peter Zijlstra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1350645484.30157.3.camel@twins \
    --to=peterz@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-numa@vger.kernel.org \
    --cc=miaox@cn.fujitsu.com \
    --cc=mingo@redhat.com \
    --cc=rientjes@google.com \
    --cc=tangchen@cn.fujitsu.com \
    --cc=wency@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).