]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Add debug mode to brlock
authorSasha Levin <levinsasha928@gmail.com>
Mon, 30 May 2011 17:27:57 +0000 (20:27 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 2 Jun 2011 08:38:08 +0000 (11:38 +0300)
commit719323dcabc816535c77a109a9d8daac7f626c32
treeaaa987a4a4aa858417e9a8c608b66cfae24262e6
parent1e8960c97d8840d014cbf428cfc3756aecf5b50b
kvm tools: Add debug mode to brlock

Adds a debug mode which allows to switch the brlock into
a big rwlock.
This can be used to verify we don't end up with a BKL kind
of lock with the current brlock implementation.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/brlock.h