XArray tests: RCU lock prohibits GFP_KERNEL
authorMatthew Wilcox <willy@infradead.org>
Tue, 5 Feb 2019 04:12:08 +0000 (23:12 -0500)
committerMatthew Wilcox <willy@infradead.org>
Tue, 5 Feb 2019 04:15:30 +0000 (23:15 -0500)
commitbd54211b8e199ffb701ec98bf4f301e4a6f38a92
tree15204320fbdc50172361d898e053f8341a8799ea
parent8834f5600cf3c8db365e18a3d5cac2c2780c81e5
XArray tests: RCU lock prohibits GFP_KERNEL

Drop and reacquire the RCU read lock while using GFP_KERNEL.

Reported-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
lib/test_xarray.c