]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmap_lock: Change trace and locking order
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 3 Sep 2021 01:01:21 +0000 (21:01 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 3 Sep 2021 02:39:08 +0000 (22:39 -0400)
commit58372bbfb4168b40f1d00bde45ab2879283bcfd7
tree07f2e35e432290a91465a38dfea0d4f678e2cd56
parent74a8524cebc70609a44eb916fb2c292cef5ebabf
mmap_lock: Change trace and locking order

Print to the trace log before releasing the lock to avoid racing with
other trace log printers of the same lock type.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Suggested-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/mmap_lock.h