]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Update NUMA VDSO information when updating CPU maps
authorJesse Larrew <jlarrew@linux.vnet.ibm.com>
Wed, 24 Apr 2013 06:03:48 +0000 (06:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Apr 2013 06:08:24 +0000 (16:08 +1000)
commit134b8c38f871d49e8082b1105124672b3351d670
treef1dff35fb025f758f5a49315dfccb09277434f98
parentc8ae78aef0d4033152e09f335a21bd7ab659e9d1
powerpc/pseries: Update NUMA VDSO information when updating CPU maps

The following patch adds vdso_getcpu_init(), which stores the NUMA node for
a cpu in SPRG3:

Commit 97cb735f45 ("powerpc: Add VDSO version of getcpu") adds
vdso_getcpu_init(), which stores the NUMA node for a cpu in SPRG3.

This patch ensures that this information is also updated when the NUMA
affinity of a cpu changes.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c