Rewrite completely with new goal.
commit57b7ad7a7b33d1b6f2feeb8b693efab7492658cf
authorDan Carpenter <error27@gmail.com>
Wed, 18 Feb 2009 11:52:15 +0000 (18 14:52 +0300)
committerDan Carpenter <error27@gmail.com>
Wed, 18 Feb 2009 11:52:15 +0000 (18 14:52 +0300)
tree3b69a0a09a7dda369ff6bbe11096098a409bb57b
parentffe7241ad3282ac12f0b1a996e2cb5893af0d581
Rewrite completely with new goal.

This time instead of checking that we don't return negative with a lock
held, we check that locks are consistent across all returns.

Add a validation script as well.
check_locking.c
validation/sm_locking.c [new file with mode: 0644]