vmware-archive / quickstep

Quickstep Project
Apache License 2.0
27 stars 13 forks source link

DO NOT MERGE: Deadlock Fix Approach 1 #180

Closed zuyu closed 8 years ago

zuyu commented 8 years ago

In shared, sharded buffer pool, to prevent deadlock each thread holds at most one exclusive lock on a shard, instead of two exclusive locks (one on the loading shard, one on the eviction shard).

Cons: under-eviction (we evict less slots than it should).

zuyu commented 8 years ago

Replaced by #183.