A number of improvements have been made to the locking system to eliminate or minimize bottlenecks identified when running various performances tests.
Each resource RSB now has an embedded a lock block (LKB), removing the need for a separate, contentious LKB allocation every time a new resource is allocated.
An LLB stash of LKBs is also maintained, similar to the RSB stash.
When an RSB or LKB is freed, it is returned to the LLB's stash; when the lock list itself is freed, all stashed RSB/LKBs are returned to the free pool.
The following miscellaneous locking system improvements are included in Ingres 2.6: