[PATCH v4 0/4] shoot lazy tlbs
Nicholas Piggin
npiggin at gmail.com
Sat Jun 5 11:42:12 AEST 2021
The additional unused config option was a valid criticism, so this now
purely just toggles refcounting of the lazy tlb mm.
Thanks,
Nick
Since v3:
- Removed the extra config option, MMU_LAZY_TLB=n. This can be
resurrected if an arch wants it.
Nicholas Piggin (4):
lazy tlb: introduce lazy mm refcount helper functions
lazy tlb: allow lazy tlb mm refcounting to be configurable
lazy tlb: shoot lazies, a non-refcounting lazy tlb option
powerpc/64s: enable MMU_LAZY_TLB_SHOOTDOWN
arch/Kconfig | 17 ++++++++++
arch/arm/mach-rpc/ecard.c | 2 +-
arch/powerpc/Kconfig | 1 +
arch/powerpc/kernel/smp.c | 2 +-
arch/powerpc/mm/book3s64/radix_tlb.c | 4 +--
fs/exec.c | 4 +--
include/linux/sched/mm.h | 20 +++++++++++
kernel/cpu.c | 2 +-
kernel/exit.c | 2 +-
kernel/fork.c | 51 ++++++++++++++++++++++++++++
kernel/kthread.c | 11 +++---
kernel/sched/core.c | 35 +++++++++++++------
kernel/sched/sched.h | 4 ++-
13 files changed, 132 insertions(+), 23 deletions(-)
--
2.23.0
More information about the Linuxppc-dev
mailing list