×

System and method for processing memory instructions using a forced order queue

  • US 7,519,771 B1
  • Filed: 08/18/2003
  • Issued: 04/14/2009
  • Est. Priority Date: 08/18/2003
  • Status: Active Grant
First Claim
Patent Images

1. A computerized method for accessing data in a memory system having a local cache and a higher level cache, comprising:

  • obtaining a memory request;

    storing the memory request in an Initial Request Queue (IRQ); and

    processing the memory request from the IRQ by a cache controller, wherein processing includes;

    determining whether the memory request hits in the local cache;

    determining whether a portion of an address associated with the memory request matches one or more partial addresses in a Force Order Queue (FOQ),wherein the FOQ stores a memory request that is pending to the higher level cache;

    when the portion of an address associated with the memory request does not match the one or more partial addresses in the FOQ and, at the same time, the memory request hits in the local cache, servicing the memory request immediately using data in the local cache without adding the memory request to the FOQ;

    when the portion of an address associated with the memory request does not match the one or more partial addresses in the FOQ and, at the same time, the memory request misses in the local cache, adding the memory request to the FOQ, allocating a cache line in the local cache corresponding to the local cache miss and servicing the memory request using data received from the higher level cache;

    when the portion of an address associated with the memory request matches the one or more partial addresses in the FOQ and, at the same time, the memory request hits in the local cache, preventing the memory request from being satisfied in the local cache, wherein preventing includes adding the memory request to the FOQ and servicing the memory request using data received from the higher level cache; and

    when the portion of an address associated with the memory request matches the one or more partial addresses in the FOQ and, at the same time, the memory request misses in the local cache, preventing the memory request from being satisfied in the local cache, wherein preventing includes adding the memory request to the FOQ and servicing the memory request using data received from the higher level cache.

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