| commit | b9299c2bf55472da7225266a7d15287bbf620ee4 | [log] [tgz] |
|---|---|---|
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | Thu Apr 01 07:44:48 2021 -0400 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 16 11:46:38 2021 +0200 |
| tree | 76e8d4b7b38f7bf1225c6ce46789abfbe45d13ac | |
| parent | cde89079ce463e088aaf54e074906939d2467621 [diff] |
idr test suite: Take RCU read lock in idr_find_test_1 [ Upstream commit 703586410da69eb40062e64d413ca33bd735917a ] When run on a single CPU, this test would frequently access already-freed memory. Due to timing, this bug never showed up on multi-CPU tests. Reported-by: Chris von Recklinghausen <crecklin@redhat.com> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Sasha Levin <sashal@kernel.org>