]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
s390/mm: Remove bogus comment in __tlb_flush_mm()
authorAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 8 Nov 2024 13:27:43 +0000 (14:27 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 21 Nov 2024 11:44:06 +0000 (12:44 +0100)
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 <agordeev@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/tlbflush.h

index a6e2cd89b609467baa486d29a1a5c17b7310f9a1..9dfd46dd03c64cf71985173e306892a2db9f53b3 100644 (file)
@@ -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 */