]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Allocate pacas per node
authorNicholas Piggin <npiggin@gmail.com>
Tue, 13 Feb 2018 15:08:20 +0000 (01:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Mar 2018 13:06:44 +0000 (00:06 +1100)
commit35852e5c64240301204663a5f15a02d9d1cdd716
tree8b7dd5d5d9f0f994b90dfdceb4796e13028c96b1
parent8a4ff6c786f82ffadf7eff27e705e225a3a7bf4d
powerpc/64: Allocate pacas per node

Per-node allocations are possible on 64s with radix that does
not have the bolted SLB limitation.

Hash would be able to do the same if all CPUs had the bottom of
their node-local memory bolted as well. This is left as an
exercise for the reader.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Add dummy definition of boot_cpuid for !SMP]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/paca.c
arch/powerpc/kernel/setup_64.c