Skip to content

Commit 03b3e82

Browse files
author
Alexander Gordeev
committed
s390/tlb: Add missing TLB range adjustment
While converting to generic mmu_gather with commit 9de7d83 ("s390/tlb: Convert to generic mmu_gather") __tlb_adjust_range() is called from pte|pmd|p4d_free_tlb(), but not for pud_free_tlb(). __tlb_adjust_range() adjusts the span of TLB range to be flushed, but s390 does not make use of it. Thus, this change is only for consistency. Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent d1aa46c commit 03b3e82

File tree

1 file changed

+1
-1
lines changed
  • arch/s390/include/asm

1 file changed

+1
-1
lines changed

arch/s390/include/asm/tlb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud,
140140
{
141141
if (mm_pud_folded(tlb->mm))
142142
return;
143+
__tlb_adjust_range(tlb, address, PAGE_SIZE);
143144
tlb->mm->context.flush_mm = 1;
144145
tlb->freed_tables = 1;
145146
tlb->cleared_p4ds = 1;
146147
tlb_remove_ptdesc(tlb, pud);
147148
}
148149

149-
150150
#endif /* _S390_TLB_H */

0 commit comments

Comments
 (0)