affected mm.
Signed-off-by: Yair Podemsky
Suggested-by: David Hildenbrand
---
include/asm-generic/tlb.h | 4 ++--
mm/khugepaged.c | 4 ++--
mm/mmu_gather.c | 17 -
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/include/asm-generic/tlb.h b
Some architectures set and maintain the mm_cpumask bits when loading
or removing process from cpu.
This Kconfig will mark those to allow different behavior between
kernels that maintain the mm_cpumask and those that do not.
Signed-off-by: Yair Podemsky
---
arch/Kconfig | 8
pumask the mask used should be
cpu_online_mask (Peter Zijlstra).
v1: https://lore.kernel.org/all/20230404134224.137038-1-ypode...@redhat.com/
Yair Podemsky (2):
arch: Introduce ARCH_HAS_CPUMASK_BITS
mm/mmu_gather: send tlb_remove_table_smp_sync IPI only to MM CPUs
arch/Kconfig
to exit them, in which case it is still in the kernel.
Signed-off-by: Yair Podemsky
---
mm/mmu_gather.c | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/mm/mmu_gather.c b/mm/mmu_gather.c
index 5ea9be6fb87c..731d955e152d 100644
--- a/mm/mmu_gather.c
+++ b/m
affected mm.
Signed-off-by: Yair Podemsky
Suggested-by: David Hildenbrand
---
include/asm-generic/tlb.h | 4 ++--
mm/khugepaged.c | 4 ++--
mm/mmu_gather.c | 17 -
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/include/asm-generic/tlb.h b
Some architectures set and maintain the mm_cpumask bits when loading
or removing process from cpu.
This Kconfig will mark those to allow different behavior between
kernels that maintain the mm_cpumask and those that do not.
Signed-off-by: Yair Podemsky
---
arch/Kconfig | 8
differentiate architectures that support mm_cpumask from
those that don't will allow safe usage of this feature.
Yair Podemsky (3):
arch: Introduce ARCH_HAS_CPUMASK_BITS
mm/mmu_gather: send tlb_remove_table_smp_sync IPI only to MM CPUs
mm/mmu_gather: send tlb_remove_table_smp_sync IPI on