diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-02-14 01:08:24 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-31 00:07:09 +1100 |
commit | 2ad452ffaaa8d2f1124208e507e7b045e8ee98a6 (patch) | |
tree | 1eb4a4335b875a9bf87c7949e39cd7c82634e0b7 /crypto/echainiv.c | |
parent | 0633dafcf8921048eb1ddc8c6fcfbe1b1cf3e42c (diff) |
powerpc/64s/radix: Allocate kernel page tables node-local if possible
Try to allocate kernel page tables for direct mapping and vmemmap
according to the node of the memory they will map. The node is not
available for the linear map in early boot, so use range allocation
to allocate the page tables from the region they map, which is
effectively node-local.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Fix build error in radix__create_section_mapping()]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'crypto/echainiv.c')
0 files changed, 0 insertions, 0 deletions