]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Lock maple tree when using mas_store_gfp()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Sat, 20 Feb 2021 17:56:07 +0000 (12:56 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Sat, 20 Feb 2021 17:56:07 +0000 (12:56 -0500)
commit75dceeed30dab6cc660a5da78d0cf302669f1738
treea985726135849fbfc2fb7e2fd0277938b8e4822e
parente926d3ffdaf4ef17a3d7d6eee77336324e03ceb4
mm/mmap: Lock maple tree when using mas_store_gfp()

When storing to the maple tree, take the write lock to avoid
entering/exiting the use of RCU during a write operation.

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c