# US 11,907,132 B2 · Final cache directory state indication

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,907,132 B2
- Document ID: US11907132B2
- Status: Granted
- Kind: B2
- Application number: 17/701,777
- Filed: 2022-03-23
- Published: 2023-09-28
- Granted: 2024-02-20
- Earliest claimed: 2022-03-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jason D Kohl; Gregory William Alexander; Timothy Bronson; Akash V. Giri; Winston Herring
- Web page: https://patentgrep.com/patent/US11907132B2

## CPC

- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 2212/622: State-only directory, i.e. not recording identity of sharing or owning nodes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for managing designated authority status in a cache line includes identifying an initial designated authority (DA) member cache for a cache line, transferring DA status from the initial DA member cache to a new DA member cache, determining whether the new DA member cache is active, indicating a final state of the initial DA cache responsive to determining that the new DA member cache is active, and overriding a DA state in a cache control structure in a directory. A method for managing cache accesses during a designated authority transfer includes receiving a designated authority (DA) status transfer request, receiving an indication that a first cache will invalidate its copy of the cache line, allowing a second cache to assume DA status for the cache line, and denying access to the first cache's copy of the cache line until invalidation by the first cache is complete.

## Claims

### Claim 1

A computer implemented method comprising:
identifying an initial designated authority (DA) member cache for a cache line, the initial DA member cache having a DA status;
transferring the DA status from the initial DA member cache to a new DA member cache;
receiving an operation request;
indicating that the initial DA member cache will be invalidated without allowing any other access to the cache line prior to invalidation; and
allowing the operation request to proceed as though the initial DA member cache has been invalidated prior to invalidation of the initial DA member cache.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, further comprising receiving an indication that the new DA member cache has begun its protection of the cache line.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, further comprising denying access to the initial DA member cache's copy of the cache line until the initial DA member cache invalidates its copy of the cache line.

### Claim 4 (depends on 3)

The computer implemented method of claim 3, further comprising:
determining that the initial DA member cache has invalidated its copy of the cache line; and
responsive to determining that the initial DA member cache has invalidated its copy of the cache line, allowing access to the initial DA member cache.

### Claim 5

A computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising instructions to:
identify an initial designated authority (DA) member cache for a cache line, the initial DA member cache having a DA status;
transfer the DA status from the initial DA member cache to a new DA member cache;
receive an operation request;
indicate that the initial DA member cache will be invalidated without allowing any other access to the cache line prior to invalidation; and
allow the operation request to proceed as though the initial DA member cache has been invalidated prior to invalidation of the initial DA member cache.

### Claim 6 (depends on 5)

The computer program product of claim 5, the program instructions further comprising instructions to receive an indication that the new DA member cache has begun its protection of the cache line.

### Claim 7 (depends on 5)

The computer program product of claim 5, the program instructions further comprising instructions to deny access to the initial DA member cache's copy of the cache line until the initial DA member cache invalidates its copy of the cache line.

### Claim 8 (depends on 7)

The computer program product of claim 7, the program instructions further comprising instructions to:
determine that the initial DA member cache has invalidated its copy of the cache line; and
responsive to determining that the initial DA member cache has invalidated its copy of the cache line, allow access to the initial DA member cache.

### Claim 9

A computer system comprising:
one or more computer processors;
one or more computer-readable storage media; and
program instructions stored on the computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising instructions to:
identify an initial designated authority (DA) member cache for a cache line, the initial DA member cache having a DA status;
transfer the DA status from the initial DA member cache to a new DA member cache;
receive an operation request;
indicate that the initial DA member cache will be invalidated without allowing any other access to the cache line prior to invalidation; and
allow the operation request to proceed as though the initial DA member cache has been invalidated prior to invalidation of the initial DA member cache.

### Claim 10 (depends on 9)

The computer system of claim 9, the program instructions further comprising instructions to receive an indication that the new DA member cache has begun its protection of the cache line.

### Claim 11 (depends on 9)

The computer system of claim 9, the program instructions further comprising instructions to deny access to the initial DA member cache's copy of the cache line until the initial DA member cache invalidates its copy of the cache line.

### Claim 12 (depends on 11)

The computer system of claim 11, the program instructions further comprising instructions to:
determine that the initial DA member cache has invalidated its copy of the cache line; and
responsive to determining that the initial DA member cache has invalidated its copy of the cache line, allow access to the initial DA member cache.

### Claim 13

A computer implemented method comprising:
receiving a designated authority (DA) status transfer request from a first cache to a second cache of a corresponding cache line;
receiving an indication that the first cache will invalidate a respective copy of the cache line without allowing any other access to the respective copy of the cache line prior to invalidation;
responsive to the received indication, allowing the second cache to assume a DA status for the corresponding cache line prior to the first cache invalidating the respective copy of the cache line; and
denying access to the respective copy of the cache line until invalidation by the first cache is complete.

### Claim 14 (depends on 13)

The computer implemented method of claim 13, further comprising:
transferring the DA status for the cache line to the second cache; and
receiving an indication that the second cache has begun protection corresponding to the transferred DA status.

### Claim 15 (depends on 13)

The computer implemented method of claim 13, further comprising receiving an indication that the first cache has invalidated its copy of the cache line.

### Claim 16 (depends on 15)

The computer implemented method of claim 15, further comprising:
responsive to receiving an indication that the first cache has invalidated its copy of the cache line, allowing access to the first cache's copy of the cache line.

### Claim 17 (depends on 13)

The computer implemented method of claim 13, further comprising rejecting requests to the second cache until an indication is received that the second cache has begun protection corresponding to its transferred DA status.

### Claim 18

A computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising instructions to:
receive a designated authority (DA) status transfer request from a first cache to a second cache of a corresponding cache line;
receive an indication that the first cache will invalidate a respective copy of the cache line without allowing any other access to the respective copy of the cache line prior to invalidation;
responsive to the received indication, allow the second cache to assume a DA status for the corresponding cache line prior to the first cache invalidating the respective copy of the cache line; and
deny access to the respective copy of the cache line until invalidation by the first cache is complete.

### Claim 19 (depends on 18)

The computer program product of claim 18, the program instructions further comprising:
instructions to transfer the DA status for the cache line to the second cache; and
instructions to receive an indication that the second cache has begun protection corresponding to the transferred DA status.

### Claim 20 (depends on 18)

The computer program product of claim 18, the program instructions further comprising instructions to receive an indication that the first cache has invalidated its copy of the cache line.

### Claim 21 (depends on 18)

The computer program product of claim 18, the program instructions further comprising instructions to:
responsive to receiving an indication that the first cache has invalidated its copy of the cache line, allow access to the first cache's copy of the cache line.

### Claim 22 (depends on 18)

The computer program product of claim 18, the program instructions further comprising instructions to reject requests to the second cache until an indication is received that the second cache has begun protection corresponding to its transferred DA status.
