]> 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)
commitaf2d83c2e9f8d1cad400ed2a8a2e2cbf9e0b24a9
treef1dff35fb025f758f5a49315dfccb09277434f98
parentdc26331c0bc4da53712ff55f427e107dc4134de0
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 08a06a5cac ("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