×

MEMORY SHARING ACROSS DISTRIBUTED NODES

  • US 20140095810A1
  • Filed: 03/14/2013
  • Published: 04/03/2014
  • Est. Priority Date: 10/02/2012
  • Status: Active Grant
First Claim
Patent Images

1. In a distributed system comprising a first node and a second node, wherein the first node has a first main memory and the second node has a second main memory, and wherein a second memory location in the second main memory is mirrored in a first memory location in the first main memory, a method performed by the first node, comprising:

  • executing, by a processor on the first node, a load instruction to load data from the first memory location of the first main memory, wherein the load instruction is part of a set of program instructions pertaining to a particular thread of execution;

    determining, by the processor, whether the data in the first memory location is valid;

    in response to a determination that the data in the first memory location is invalid, causing the load instruction to trap, which causes the processor to suspend execution of the set of program instructions and to begin execution of a set of trap handling instructions;

    while executing the set of trap handling instructions, the processor causing;

    valid data to be obtained from the second memory location of the second main memory, and stored into the first memory location of the first main memory; and

    a validity indicator to be updated to indicate that the data in the first memory location is valid; and

    resuming, by the processor, execution of the set of program instructions.

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