]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1aeb4f5a07d1d4ffa3ad1b1db6bc99a5a94053a9
treeef8d14014f330d7f9fe8918002f55cca8023e404
parent92abe2e973d85dbcf3bf98b645816978d44a523b
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