linux_dsm_epyc7002/arch/powerpc/mm/book3s64
Aneesh Kumar K.V d78d5dace5 powerpc/book3s64/hash: Use secondary hash for bolted mapping if the primary is full
With bolted hash page table entry, kernel currently only use primary hash group
when inserting the hash page table entry. In the rare case where kernel find all the
8 primary hash slot occupied by bolted entries, this can result in hash page
table insert failure for bolted entries. Avoid this by using the secondary hash
group.

This is different from what kernel does for the non-bolted mapping. With
non-bolted entries kernel will try secondary before removing an existing entry
from hash page table group. With bolted prefer primary hash group and hence
try to insert the page table entry by removing a slot from primary before trying
the secondary hash group.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191024093542.29777-3-aneesh.kumar@linux.ibm.com
2019-10-28 21:54:16 +11:00
..
hash_4k.c
hash_64k.c
hash_hugepage.c
hash_hugetlbpage.c
hash_native.c powerpc/book3s64/hash: Use secondary hash for bolted mapping if the primary is full 2019-10-28 21:54:16 +11:00
hash_pgtable.c powerpc/book3s64: Export has_transparent_hugepage() related functions. 2019-09-24 10:22:29 -07:00
hash_tlb.c
hash_utils.c powerpc/book3s64/hash: Use secondary hash for bolted mapping if the primary is full 2019-10-28 21:54:16 +11:00
iommu_api.c mm: introduce page_shift() 2019-09-24 15:54:08 -07:00
Makefile powerpc/pseries: Move mm/book3s64/vphn.c under platforms/pseries/ 2019-07-04 22:23:38 +10:00
mmu_context.c powerpc/book3s64/radix: Remove WARN_ON in destroy_context() 2019-09-21 08:36:53 +10:00
pgtable.c powerpc/64s/radix: introduce options to disable use of the tlbie instruction 2019-09-05 14:22:41 +10:00
pkeys.c powerpc/pkeys: remove unused pkey_allows_readwrite 2019-10-11 19:34:10 +11:00
radix_hugetlbpage.c
radix_pgtable.c libnvdimm fixes v5.4-rc1 2019-09-29 10:33:41 -07:00
radix_tlb.c powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9 2019-09-24 20:58:55 +10:00
slb.c
subpage_prot.c pagewalk: separate function pointers from iterator data 2019-09-07 04:28:04 -03:00