]> 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)
commitff379c17fe6107032c73bf24d8579f5f02c0e160
treeef8d14014f330d7f9fe8918002f55cca8023e404
parent64354d5c867edd6bf34dc242f42cfeed01dbc7c6
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