]> 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)
commit493122af5e72707a61e3c796b562da17eb2d3a72
tree8b7dd5d5d9f0f994b90dfdceb4796e13028c96b1
parent3eeba1c1b679c502d8c0756704f780a008347e77
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