[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200304033329.GZ29971@bombadil.infradead.org>
Date: Tue, 3 Mar 2020 19:33:29 -0800
From: Matthew Wilcox <willy@...radead.org>
To: Qian Cai <cai@....pw>
Cc: paulmck@...nel.org, elver@...gle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] lib: disable KCSAN for XArray
On Tue, Mar 03, 2020 at 10:15:51PM -0500, Qian Cai wrote:
> Functions like xas_find_marked(), xas_set_mark(), and xas_clear_mark()
> could happen concurrently result in data races, but those operate only
> on a single bit that are pretty much harmless. For example,
Those aren't data races. The writes are protected by a spinlock and the
reads by the RCU read lock. If the tool can't handle RCU protection,
it's not going to be much use.
Powered by blists - more mailing lists