Re: [PATCH v2] mmap_lock: Change trace and locking order
From: Matthew Wilcox
Date: Fri Sep 03 2021 - 06:57:39 EST
On Fri, Sep 03, 2021 at 02:21:05AM +0000, Liam Howlett wrote:
> 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@xxxxxxxxxx>
> Suggested-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>