×

System and method for event monitoring in cache coherence protocols without explicit invalidations

  • US 10,387,312 B2
  • Filed: 01/02/2015
  • Issued: 08/20/2019
  • Est. Priority Date: 01/03/2014
  • Status: Active Grant
First Claim
Patent Images

1. A computer system comprising:

  • multiple processor cores;

    at least one local cache memory associated with and operatively coupled to each core for storing one or more cache lines accessible only by the associated core;

    a shared memory, the shared memory being operatively coupled to the local cache memories and accessible by the cores, the shared memory being capable of storing a plurality of cache lines; and

    a callback directory containing a set of callback (CB) bits associated with a memory address, wherein each CB bit in the set corresponds to a core;

    wherein a core issuing a callback-read to the memory address either reads the last value written in the memory address, or is blocked from reading from the memory address until the next write takes place in the memory address and then reads a new value of said next write, such that the callback-read enables event monitoring for coherence of the at least one local cache and the shared memory without using explicit invalidations,when a CB bit corresponding to the core that issued the callback-read is set, the callback-read is completed by the core reading the last value in the memory address;

    when the CB bit corresponding to the core that issued the callback-read is unset, the callback-read triggers setting of the CB bit and the callback-read is completed when the new value is written in the memory address and the new value is forwarded to the core that issued the callback-read; and

    when the new value is written in the memory address, the new value is forwarded to all of the cores that have their corresponding CB bit set for the memory address, CB bits previously set for the memory address are cleared, and CB bits previously unset for the memory address are set.

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