Revision 4b217f68
ID | 4b217f680f9ad5c8c59a39e7fab04b030eec4a74 |
Parent | 07eec0fc |
Child | 9f9c4543 |
Support opportunistic lock allocation
Add a function to opportunistically allocate as many locks of a given
set as possible. This is equivalent to sequentially try the locks in
increasing lock order after restricting to those locks where the
required owner state is higher than the currently held one.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Files
- added
- modified
- copied
- renamed
- deleted