EP0220451A2

A cache coherence mechanism based on locking.

Abstract

A method and apparatus is provided for associating in cache directories the Control Domain Identifications (CDIDs) of software covered by each cache line. Through the use of such provision and/or the addition of Identifications of users actively using lines, cache coherence of certain data is controlled without performing conventional Cross-Interrogates (XIs), if the accesses to such objects are properly synchronized with locking type concurrency controls. Software protocols to caches are provided for the resource kernel to control the flushing of released cache lines. The parameters of these protocols are high level Domain Identifications and Task Identifications.

EP0220451A2, drawing sheet 1
Sheet 1 of 8

Term

Term ended

Projected expiry passed 12 September 2006, 20 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

4 claims: 2 independent, 2 dependent

  1. 1
    A method of cache control for maintaining cache coherence in a multiprocessing system comprised of a plurality of processors (2,4,6,8) which share a main storage (10), with each processor having a cache (40) and a directory (42) with a plurality of line entries of information, with a block of information being comprised of at least one line, characterized in that a control domain (CD) being defined as at least one of said blocks of information, with each line entry including a CD identification (CDID) flag to identify the CD to which a line belongs, said method comprising the steps of:setting said CDID flag, of any line of information transferred from said main storage (10) to said cache, to a selected state which identifies the CD to which said any line is associated with;issuing a FLUSH command, including a predetermined CDID flag, by a given processor to remove a line of information with said predetermined CDID from the associated cache;and comparing the CDID in the FLUSH command with the CDID of the lines of information in the associated cache, and if a match of CDID's is found, removing the line with the matched CDID from said cache.
  2. 4
    The method of claims 3, including the step of indicating a given user identification (UIDC) flag in a line of information is made invalid if said UIDC flag is in a line of information in which the CDID and CH flag match with the CDID and M Flag, respectively, of the FLUSH command.