Patent ID: 7921272

Claim:
An article of manufacture comprising a computer readable medium implementing code in communication with a storage device and for performing operations, the operations comprising: monitoring processes accessing addresses of data in a storage device, wherein processes are granted access to the addresses according to a first locking scheme that indicates how to arbitrate access by processes to the addresses; detecting a condition occurring in response to a pattern of processes accessing addresses; in response to detecting the condition, performing: determining one of the processes in the pattern and the address accessed by the determined process; indicating in address information maintained for the determined address accessed by the determined process that a second locking scheme applies to the determined address, wherein the second locking scheme applies greater number of addresses of data in the storage device than the first locking scheme; and in response to receiving a lock request for a requested address of data in the storage device following the operations performed in response to the detecting of the condition, performing: determining from the address information for the requested address the first or second locking scheme indicated for the requested address; and using the determined first or second locking scheme to grant access to the requested address.