# US 10,956,070 B2 · Zeroing a memory block without processor caching

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

- Number: US 10,956,070 B2
- Document ID: US10956070B2
- Status: Granted
- Kind: B2
- Application number: 16/216,587
- Filed: 2018-12-11
- Published: 2020-06-11
- Granted: 2021-03-23
- Earliest claimed: 2018-12-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Derek E. Williams; Guy L. Guthrie; Hugh Shen
- Web page: https://patentgrep.com/patent/US10956070B2

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 9/3816: {Instruction alignment, e.g. cache line crossing}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/1016: Performance improvement
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing system includes a plurality of processor cores each having a respective associated cache memory, a memory controller, and a system memory coupled to the memory controller. A zero request of a processor core among the plurality of processor cores is transmitted on an interconnect fabric of the data processing system. The zero request specifies a target address of a target memory block to be zeroed and has no associated data payload. The memory controller receives the zero request on the interconnect fabric and services the zero request by zeroing in the system memory the target memory block identified by the target address, such that the target memory block is zeroed without caching the zeroed target memory block in the cache memory of the processor core.

## Claims

### Claim 1

A method of data processing in a data processing system including a plurality of processor cores each having a respective associated one of a plurality of cache memories, a memory controller, and a system memory coupled to the memory controller, the method comprising:
transmitting on an interconnect fabric of the data processing system a zero request of a processor core among the plurality of processor cores, wherein the zero request specifies a target address of a target memory block to be zeroed and has no associated data payload; and
the memory controller receiving the zero request on the interconnect fabric and servicing the zero request by zeroing in the system memory the target memory block identified by the target address, wherein the target memory block is zeroed without caching the zeroed target memory block in the cache memory of the processor core.

### Claim 2 (depends on 1)

The method of claim 1, and further comprising:
the processor core generating the zero request by executing a zero instruction.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
the processor core is a first processor core and the cache memory is a first cache memory;
the plurality of processor cores includes a second processor core having a second cache memory; and
the method further comprises the second cache memory invalidating a non-zeroed copy of the target memory block in the second cache memory responsive to the zero request.

### Claim 4 (depends on 3)

The method of claim 3, and further comprising the second cache memory transferring responsibility for protecting coherence ownership of the target address of the zero request to the first cache memory.

### Claim 5 (depends on 4)

The method of claim 4, wherein the transferring includes providing a coherence message to the zero request.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the memory controller includes a data buffer having a zero input; and
servicing the zero request includes filling the data buffer with zeros and writing contents of the data buffer into the target memory block in the system memory.

### Claim 7

A memory controller for a system memory of a data processing system including a plurality of processor cores each having a respective associated one of a plurality of cache memories, the memory controller comprising:
an integrated circuit configured to perform:
receiving on an interconnect fabric of the data processing system a zero request of a processor core among the plurality of processor cores, wherein the zero request specifies a target address of a target memory block to be zeroed and has no associated data payload; and
servicing the zero request by zeroing in the system memory the target memory block identified by the target address, wherein the target memory block is zeroed without the zeroed target memory block being cached in the cache memory of the processor core.

### Claim 8 (depends on 7)

The memory controller of claim 7, wherein:
the memory controller includes a data buffer having a zero input; and
the memory controller services the zero request by filling the data buffer with zeros and writing contents of the data buffer into the target memory block in the system memory.

### Claim 9 (depends on 7)

A data processing system comprising:
the memory controller of claim 7;
the plurality of processor cores including the processor core;
the plurality of cache memories; and
the interconnect fabric.

### Claim 10 (depends on 9)

The data processing system of claim 9, wherein the processor core includes an execution unit that generates the zero request by executing a zero instruction.

### Claim 11 (depends on 9)

The data processing system of claim 9, wherein:
the processor core is a first processor core and the cache memory is a first cache memory;
the plurality of processor cores includes a second processor core having a second cache memory; and
the second cache memory invalidates a non-zeroed copy of the target memory block in the second cache memory responsive to the zero request.

### Claim 12 (depends on 11)

The data processing system of claim 11, wherein the second cache memory transfers responsibility for protecting coherence ownership of the target address of the zero request to the first cache memory.

### Claim 13 (depends on 12)

The data processing system of claim 12, wherein the second cache memory transfers responsibility for protecting coherence ownership of the target address of the zero request to the first cache memory by providing a coherence message to the zero request.

### Claim 14

A design structure tangibly embodied in a computer-readable storage device for designing, manufacturing, or testing an integrated circuit, the design structure comprising:
a memory controller for a system memory of a data processing system including a plurality of processor cores each having a respective one of a plurality of cache memories, wherein the memory controller is configured to perform:
receiving on an interconnect fabric of the data processing system a zero request of a processor core among the plurality of processor cores, wherein the zero request specifies a target address of a target memory block to be zeroed and has no associated data payload; and
servicing the zero request by zeroing in the system memory the target memory block identified by the target address, wherein the target memory block is zeroed without the zeroed target memory block being cached in the cache memory of the processor core.

### Claim 15 (depends on 14)

The design structure of claim 14, wherein:
the memory controller includes a data buffer having a zero input; and
the memory controller services the zero request by filling the data buffer with zeros and writing contents of the data buffer into the target memory block in the system memory.

### Claim 16 (depends on 14)

The design structure of claim 14, and further comprising:
the plurality of processor cores; and
the plurality of cache memories.

### Claim 17 (depends on 16)

The design structure of claim 16, wherein the processor core includes an execution unit that generates the zero request by executing a zero instruction.

### Claim 18 (depends on 16)

The design structure of claim 16, wherein:
the processor core is a first processor core and the cache memory is a first cache memory;
the plurality of processor cores includes a second processor core having a second cache memory; and
the second cache memory invalidates a non-zeroed copy of the target memory block in the second cache memory responsive to the zero request.

### Claim 19 (depends on 18)

The design structure of claim 18, wherein the second cache memory transfers responsibility for protecting coherence ownership of the target address of the zero request to the first cache memory.

### Claim 20 (depends on 19)

The design structure of claim 19, wherein the second cache memory transfers responsibility for protecting coherence ownership of the target address of the zero request to the first cache memory by providing a coherence message to the zero request.
