commit | 9a7552daa93bf38f6975cb47f6f726d3e2b81a60 | [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:43:21 2021 +0200 |
tree | 03e407b74f3e8d8ba57d4b97ca6f2c9afe1595c9 | |
parent | edd822b6924154c84383c3a9a513a7c9b7c98fd8 [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>