powerpc/64s/hash: SLB allocation status bitmaps
authorNicholas Piggin <npiggin@gmail.com>
Fri, 14 Sep 2018 15:30:53 +0000 (01:30 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Sep 2018 12:01:56 +0000 (22:01 +1000)
commit655deecf67b240bf7bb4e73df4e1235900c26a01
treeef8d14014f330d7f9fe8918002f55cca8023e404
parent8fed04d0f6aedf99b3d811ba58d38bb7f938a47a
powerpc/64s/hash: SLB allocation status bitmaps

Add 32-entry bitmaps to track the allocation status of the first 32
SLB entries, and whether they are user or kernel entries. These are
used to allocate free SLB entries first, before resorting to the round
robin allocator.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/mm/slb.c
arch/powerpc/xmon/xmon.c