×

Multi-lock caches

  • US 10,176,057 B2
  • Filed: 01/29/2018
  • Issued: 01/08/2019
  • Est. Priority Date: 12/19/2012
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • a data store configured to store an associative array and a plurality of entries, wherein individual entries of the plurality of entries are stored in one or more storage blocks of a plurality of storage blocks, and wherein individual locks of a plurality of locks control access to at least one storage block of the plurality of storage blocks;

    a first processor configured to;

    obtain control of a shared first group lock and a shared first entry lock, the shared first group lock controlling access to at least a first entry and a second entry, and the shared first entry lock controlling access to the first entry;

    determine that the associative array associates the first entry with a first storage block of the plurality of storage blocks;

    obtain control of an exclusive first entry lock, the exclusive first entry lock controlling exclusive access to the first entry;

    modify the associative array to dissociate the first storage block from the first entry; and

    release control of the exclusive first entry lock; and

    a second processor configured to;

    while the first processor has control of the shared first group lock, obtain control of the shared first group lock and a shared second entry lock, the shared second entry lock controlling access to the second entry;

    determine that the associative array associates the second entry with a second storage block of the plurality of storage blocks;

    obtain control of an exclusive second entry lock, the exclusive second entry lock controlling exclusive access to the second entry;

    modify the associative array to dissociate the second storage block from the second entry; and

    release control of the exclusive second entry lock.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×