]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
powerpc/64s/hash: Add 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>
Sun, 14 Oct 2018 07:04:09 +0000 (18:04 +1100)
commit126b11b294d15a90e38eb2dcded2433619b2c794
tree9b9669196fcbd1caa75ddf85f1eb65b7718e2333
parent48e7b76957457f9a6f086ca2bbe49ec1ffd75f84
powerpc/64s/hash: Add 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