×

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

  • US 7,552,290 B2
  • Filed: 08/23/2006
  • Issued: 06/23/2009
  • Est. Priority Date: 08/23/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

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

    in response to execution of each mov instruction having the x86 LOCK prefix, storing the corresponding memory address within a processor buffer;

    in response to execution of the acquire instruction;

    sending each memory address stored within the processor buffer to be compared; and

    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 specified by the one or more mov instructions having the x86 LOCK instruction prefix in the critical section of code.

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