From: Davidlohr Bueso Date: Mon, 29 Sep 2014 13:14:23 +0000 (-0700) Subject: locktorture: Support rwlocks X-Git-Tag: fixes-against-v3.18-rc2~103^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34191fad8e5d9fe4e76f6d03b5e29e3eae7535a;p=pandora-kernel.git locktorture: Support rwlocks Add a "rw_lock" torture test to stress kernel rwlocks and their irq variant. Reader critical regions are 5x longer than writers. As such a similar ratio of lock acquisitions is seen in the statistics. In the case of massive contention, both hold the lock for 1/10 of a second. Signed-off-by: Davidlohr Bueso Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed