]> Git Repo - linux.git/commit - kernel/rcu/rcutorture.c
[PATCH] RCU: add fake writers to rcutorture
authorJosh Triplett <[email protected]>
Wed, 4 Oct 2006 09:17:13 +0000 (02:17 -0700)
committerLinus Torvalds <[email protected]>
Wed, 4 Oct 2006 14:55:31 +0000 (07:55 -0700)
commitb772e1dd4b1e60a7a160f7bd4ea08e28394ceb54
treeb462e17329ba1730178d35cccd1ce5cb928cc101
parent75cfef32f26d03f5d0a0833572d52f94ad858a36
[PATCH] RCU: add fake writers to rcutorture

rcutorture currently has one writer and an arbitrary number of readers.  To
better exercise some of the code paths in RCU implementations, add fake
writer threads which call the synchronize function for the RCU variant in a
loop, with a delay between calls to arrange for different numbers of
writers running in parallel.

[[email protected]: cleanup]
Acked-by: Paul McKenney <[email protected]>
Cc: Dipkanar Sarma <[email protected]>
Signed-off-by: Josh Triplett <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/RCU/torture.txt
kernel/rcutorture.c
This page took 0.043246 seconds and 4 git commands to generate.