diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-10-04 02:17:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 07:55:31 -0700 |
commit | b772e1dd4b1e60a7a160f7bd4ea08e28394ceb54 (patch) | |
tree | b462e17329ba1730178d35cccd1ce5cb928cc101 /kernel/mutex.h | |
parent | 75cfef32f26d03f5d0a0833572d52f94ad858a36 (diff) | |
download | op-kernel-dev-b772e1dd4b1e60a7a160f7bd4ea08e28394ceb54.zip op-kernel-dev-b772e1dd4b1e60a7a160f7bd4ea08e28394ceb54.tar.gz |
[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.
[bunk@stusta.de: cleanup]
Acked-by: Paul McKenney <paulmck@us.ibm.com>
Cc: Dipkanar Sarma <dipankar@in.ibm.com>
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions