[PATCH v2 0/5] shoot lazy tlbs

From: Nicholas Piggin
Date: Mon Dec 14 2020 - 01:55:35 EST


This is another rebase, on top of mainline now (don't need the
asm-generic tree), and without any x86 or membarrier changes.
This makes the series far smaller and more manageable and
without the controversial bits.

Thanks,
Nick

Nicholas Piggin (5):
lazy tlb: introduce lazy mm refcount helper functions
lazy tlb: allow lazy tlb mm switching to be configurable
lazy tlb: shoot lazies, a non-refcounting lazy tlb option
powerpc: use lazy mm refcount helper functions
powerpc/64s: enable MMU_LAZY_TLB_SHOOTDOWN

arch/Kconfig | 30 ++++++++++
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 | 52 ++++++++++++++++
kernel/kthread.c | 11 ++--
kernel/sched/core.c | 88 ++++++++++++++++++++--------
kernel/sched/sched.h | 4 +-
13 files changed, 184 insertions(+), 38 deletions(-)

--
2.23.0