linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* RCU tests for Maple Tree
@ 2021-05-17 15:40 Paul E. McKenney
  2021-05-17 16:30 ` Liam Howlett
  0 siblings, 1 reply; 4+ messages in thread
From: Paul E. McKenney @ 2021-05-17 15:40 UTC (permalink / raw)
  To: liam.howlett; +Cc: linux-kernel, linux-mm

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-17 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 15:40 RCU tests for Maple Tree Paul E. McKenney
2021-05-17 16:30 ` Liam Howlett
2021-05-17 16:50   ` Paul E. McKenney
2021-05-17 16:53     ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox