]> git.baikalelectronics.ru Git - kernel.git/commit
locktorture: Make statistics generic
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 12 Sep 2014 03:40:20 +0000 (20:40 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Sep 2014 20:41:05 +0000 (13:41 -0700)
commitcd046d7aceed29ce83d50bc8a3885dac60e080eb
tree434aee0cfb1b22a6900f152c4aba1be5127dde95
parent79e42ec1026e95e9af11090fe8a4b57d216b881e
locktorture: Make statistics generic

The statistics structure can serve well for both reader and writer
locks, thus simply rename some fields that mention 'write' and leave
the declaration of lwsa.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/locking/locktorture.c