summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2023-05-18 10:55:17 -0400
committerAndrew Morton <akpm@linux-foundation.org>2023-06-09 16:25:29 -0700
commit7f2f9dc16fee59afdec2df8c794e97c36e387257 (patch)
treece6b1e471d1c9dd982c064bc9cae14c538d57333 /lib
parent0d7c52bb29302bf06e6774f4d6494e942213205e (diff)
downloadlwn-7f2f9dc16fee59afdec2df8c794e97c36e387257.tar.gz
lwn-7f2f9dc16fee59afdec2df8c794e97c36e387257.zip
maple_tree: change RCU checks to WARN_ON() instead of BUG_ON()
If RCU is enabled and the tree isn't locked, just warn the user and avoid crashing the kernel. Link: https://lkml.kernel.org/r/20230518145544.1722059-9-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: David Binderman <dcb314@hotmail.com> Cc: Peng Zhang <zhangpeng.00@bytedance.com> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Vernon Yang <vernon2gm@gmail.com> Cc: Wei Yang <richard.weiyang@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions