From: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux PPC dev <linuxppc-dev@ozlabs.org>,
Michael Neuling <mikey@neuling.org>
Subject: Re: [BUG][PATCH] powerpc: fix numa distance for form0 device tree
Date: Fri, 22 Mar 2013 21:26:44 +0530 [thread overview]
Message-ID: <20130322155644.GB26283@dirshya.in.ibm.com> (raw)
In-Reply-To: <20130322154935.GA26283@dirshya.in.ibm.com>
* Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> [2013-03-22 21:19:35]:
[snip]
> Prior to the above commit:
> #define node_distance(from,to)
> ((from) == (to) ? LOCAL_DISTANCE : REMOTE_DISTANCE)
>
> Restoring compatible behavior with this patch for old powerpc systems
> with device tree where numa distance are encoded as form0.
This patch on v3.9-rc3 has been tested on multi-node POWER7 with
different device tree combinations.
numactl -H would show local distance '10' for same node and remote
distance '20' for other nodes. This ensures NUMA level sched domain
gets built and load balancing could work across such configurations.
--Vaidy
prev parent reply other threads:[~2013-03-22 15:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 15:49 [BUG][PATCH] powerpc: fix numa distance for form0 device tree Vaidyanathan Srinivasan
2013-03-22 15:56 ` Vaidyanathan Srinivasan [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=20130322155644.GB26283@dirshya.in.ibm.com \
--to=svaidy@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.org \
/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).