From: Alexander Gordeev Date: Fri, 8 Nov 2024 13:27:43 +0000 (+0100) Subject: s390/mm: Remove bogus comment in __tlb_flush_mm() X-Git-Tag: v6.13-rc1~34^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f32cc40f1440a6aa9e7396af41db79bece67bb2;p=thirdparty%2Flinux.git s390/mm: Remove bogus comment in __tlb_flush_mm() Since commit b3e5dc45fd1e ("s390/mm: fix local TLB flushing vs. detach of an mm address space") __tlb_flush_mm() does not flush local CPU, but the comment suggests it does, which is misleading. Signed-off-by: Alexander Gordeev Acked-by: Heiko Carstens Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/include/asm/tlbflush.h b/arch/s390/include/asm/tlbflush.h index a6e2cd89b6094..9dfd46dd03c64 100644 --- a/arch/s390/include/asm/tlbflush.h +++ b/arch/s390/include/asm/tlbflush.h @@ -46,11 +46,6 @@ static inline void __tlb_flush_mm(struct mm_struct *mm) { unsigned long gmap_asce; - /* - * If the machine has IDTE we prefer to do a per mm flush - * on all cpus instead of doing a local flush if the mm - * only ran on the local cpu. - */ preempt_disable(); atomic_inc(&mm->context.flush_count); /* Reset TLB flush mask */