]> git.karo-electronics.de Git - karo-tx-linux.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)
commit176bbf142461a000901df4ec6b8fac04969dd4e5
treef1dff35fb025f758f5a49315dfccb09277434f98
parent30c05350c39de6c17132cfee649518b842d89dd5
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 18ad51dd34 ("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