[PATCH] powerpc/64s/hash: add stress_hpt kernel boot option to increase hash faults

Michael Ellerman patch-notifications at ellerman.id.au
Thu Dec 8 23:40:00 AEDT 2022


On Mon, 24 Oct 2022 13:01:50 +1000, Nicholas Piggin wrote:
> This option increases the number of hash misses by limiting the number
> of kernel HPT entries, by keeping a per-CPU record of the last kernel
> HPTEs installed, and removing that from the hash table on the next hash
> insertion. A timer round-robins CPUs removing remaining kernel HPTEs and
> clearing the TLB (in the case of bare metal) to increase and slightly
> randomise kernel fault activity.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/64s/hash: add stress_hpt kernel boot option to increase hash faults
      https://git.kernel.org/powerpc/c/6b34a099faa123488b13caf704562f4dbe483fc4

cheers


More information about the Linuxppc-dev mailing list