×

Method and apparatus to trigger synchronization and validation actions upon memory access

  • US 8,327,084 B2
  • Filed: 08/30/2007
  • Issued: 12/04/2012
  • Est. Priority Date: 08/30/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method to trigger synchronization and validation actions at memory access, comprising:

  • identifying a storage class associated with a region of shared memory being accessed by a thread, in a memory system having the shared memory in which one or more regions at a predetermined granularity are assigned storage classes, the storage class represented as a fixed number of bits that identify the storage class, and in response to determining that no storage class is identified with the region of shared memory being accessed by the thread, issuing memory access in normal manner, and in response to identifying the storage class, performing;

    determining whether the thread holds the storage class and acquiring the storage class automatically if the thread does not hold the storage class, the acquiring including holding the storage class in an array of storage classes in the thread'"'"'s own memory context such that the array of storage classes is private to the thread and wherein the storage class is not exclusive to a thread such that the same storage class can be acquired by multiple threads;

    identifying a programmable action associated with the storage class held by the thread, the identifying including looking up an action table storing one or more storage classes and associated programmable actions in response to identifying the storage class associated with a region of shared memory being accessed by a thread, the action table being a process specific data structure that is configurable, including encoding of an action related to the storage class, a context that specifies whether the action should be taken upon the storage class held or not held, an operation that specifies if the action should be invoked at read, write, or read and write, and an action specification, entries in the action table enabled to be registered and removed through a set of predetermined functions; and

    triggering the programmable action based on the storage class assigned to the accessed shared memory location, the thread'"'"'s array of storage classes, and type of memory access.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×