[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210517154048.GA2013926@paulmck-ThinkPad-P17-Gen-1>
Date: Mon, 17 May 2021 08:40:48 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: liam.howlett@...cle.com
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: RCU tests for Maple Tree
Hello, Liam!
Apologies for my being so slow here, but just wanted to double-check my
understanding of this code.
There appear to be two tests that execute from run_check_rcu():
o rcu_loop(). This appears to have RCU readers scanning the tree
while an updater is adding a single range. (Or replacing it,
as the case might be.)
o rcu_val(). This appears to have RCU readers repeatedly reading a
given value while an updater is adding/replacing a single range.
The test complains if no one sees the new value.
These tests appear to be the only use of threads, though perhaps the
test harness has some way of creating threads that I missed.
Are there other tests that I should be looking for?
Thanx, Paul
Powered by blists - more mailing lists