Adds lock_test
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 10 May 2013 01:56:55 +0000 (18:56 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 10 May 2013 01:56:55 +0000 (18:56 -0700)
commitc5852433e9b50c59059d2cdef31441541dbcecef
treeb3b13b7fc60ea3e9dbc0972893312349f78a898e
parent321758198d45248afa8f6c7e9008e7c25e8f9af4
Adds lock_test

Microbenchmark for testing different lock types.  If you want to preempt
it, run it via $ ash lockprov.sh.

For info:
$ lock_test --help

For locking discussion, check out the comments at the top of lock_test.
kern/kfs/lockprov.sh [new file with mode: 0644]
tests/lock_test.c [new file with mode: 0644]