×

Method for maintaining atomicity of instruction sequence to access a number of cache lines during proactive synchronization within a computer system

  • US 20070050559A1
  • Filed: 08/23/2006
  • Published: 03/01/2007
  • Est. Priority Date: 08/23/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • a processor requesting exclusive access to a given memory resource, wherein the request includes executing a critical section of code having a one or more memory reference instructions each having a LOCK prefix followed by an ACQUIRE instruction, wherein during the specification phase, each memory reference instruction specifies a memory address associated with the given memory resource;

    in response to execution of the ACQUIRE instruction, comparing each memory address specified in the critical section of code to each address of a plurality of sets of addresses, wherein each address of the plurality of sets of addresses corresponds to a respective memory resource to which a requestor has been granted exclusive access; and

    in response to any memory address of the critical section of code matching any address of a plurality of sets of addresses, causing the ACQUIRE instruction to fail; and

    inhibiting modifying data corresponding to any memory address in an atomic phase of the critical section of code.

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