[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YTF9jE+GXId/tp0o@casper.infradead.org>
Date: Fri, 3 Sep 2021 02:42:36 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Liam Howlett <liam.howlett@...cle.com>
Cc: "linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Michel Lespinasse <walken.cr@...il.com>,
Vlastimil Babka <vbabka@...e.cz>
Subject: Re: [PATCH] mmap_lock: Change trace and locking order
On Fri, Sep 03, 2021 at 01:35:31AM +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.
Aren't you missing mmap_read_unlock_non_owner()?
Powered by blists - more mailing lists