idr test suite: Take RCU read lock in idr_find_test_1
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: NChris von Recklinghausen <crecklin@redhat.com> Signed-off-by: NMatthew Wilcox (Oracle) <willy@infradead.org>
Showing
想要评论请 注册 或 登录