diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-11-08 14:27:43 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-11-21 12:44:06 +0100 |
commit | 2f32cc40f1440a6aa9e7396af41db79bece67bb2 (patch) | |
tree | d790ebecd5013700331e511a86f2950fe38749c9 /arch/s390 | |
parent | s390/debug: Pass in and enforce output buffer size for format handlers (diff) | |
download | linux-2f32cc40f1440a6aa9e7396af41db79bece67bb2.tar.xz linux-2f32cc40f1440a6aa9e7396af41db79bece67bb2.zip |
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 <agordeev@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/tlbflush.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/s390/include/asm/tlbflush.h b/arch/s390/include/asm/tlbflush.h index a6e2cd89b609..9dfd46dd03c6 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 */ |