Files
linux/mm
Peter Zijlstra 2ae5a24749 mm/tlb: Remove tlb_remove_table() non-concurrent condition
commit a6f572084f upstream.

Will noted that only checking mm_users is incorrect; we should also
check mm_count in order to cover CPUs that have a lazy reference to
this mm (and could do speculative TLB operations).

If removing this turns out to be a performance issue, we can
re-instate a more complete check, but in tlb_table_flush() eliding the
call_rcu_sched().

Fixes: 2672391169 ("mm, powerpc: move the RCU page-table freeing into generic code")
Reported-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Rik van Riel <riel@surriel.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: David Miller <davem@davemloft.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-12 17:24:10 +09:00
..
2018-04-24 11:26:46 +02:00
2017-12-05 11:34:59 +01:00
2018-05-30 13:19:56 +02:00
2017-06-07 12:37:47 +02:00
2018-06-13 16:37:10 +02:00
2018-04-17 17:58:08 -08:00
2017-08-24 17:12:19 -07:00
2018-04-24 09:34:18 +02:00
2018-04-17 17:58:08 -08:00
2017-06-14 15:06:00 +02:00