aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2022-10-24 13:01:50 +1000
committerMichael Ellerman <[email protected]>2022-12-02 18:04:25 +1100
commit6b34a099faa123488b13caf704562f4dbe483fc4 (patch)
tree288c5677f61f2573aa3b768502ce5577b353d4cb /net/lapb/lapb_timer.c
parentdfecd06bc5524517ed7737c30eaaf747338b280a (diff)
powerpc/64s/hash: add stress_hpt kernel boot option to increase hash faults
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. Signed-off-by: Nicholas Piggin <[email protected]> [mpe: Add comment about NR_CPUS usage, fixup whitespace] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions