# US 2021/0081530 A1 · Preventing selective events of a computing environment

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

- Number: US 2021/0081530 A1
- Document ID: US20210081530A1
- Status: Published application
- Kind: A1
- Application number: 16/572,675
- Filed: 2019-09-17
- Published: 2021-03-18
- Earliest claimed: 2019-09-17
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: William O'Farrell
- Web page: https://patentgrep.com/patent/US20210081530A1

## CPC

- G06F 21/554: {involving event detection and direct action}
- G06F 21/75: by inhibiting the analysis of circuitry or operation
- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3842: {Speculative instruction execution}
- G06F 12/0842: for multiprocessing or multitasking
- G06F 12/0857: {by multiple requestors}
- G06F 12/1441: {for a range}
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 2212/1052: Security improvement
- G06F 2212/507: using speculative control
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Detecting and preventing selected events within a computing environment. A determination is made as to whether a selected event of the computing environment is consistent with a historical pattern of selected events of the computing environment. Based on determining the selected event is inconsistent with the historical pattern of selected events, processing associated with the selected event is delayed. Based on delaying processing associated with the selected event, a determination is made as to whether the selected event is valid. Based on determining that the selected event is valid, processing associated with the selected event is resumed.

## Claims

### Claim 1

A computer program product for facilitating processing within a computing environment, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for performing a method comprising:
determining whether a selected event of the computing environment is consistent with a historical pattern of selected events of the computing environment;
delaying processing associated with the selected event, based on determining that the selected event is inconsistent with the historical pattern of selected events;
determining, based on delaying processing associated with the selected event, whether the selected event is valid; and
resuming processing associated with the selected event, based on determining that the selected event is valid.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the selected event is a memory access requested by a program of the computing environment and the historical pattern of selected events includes memory accesses performed by another program of the computing environment.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein the determining whether the selected event is consistent with the historical pattern comprises determining whether the memory access is for an address within a range of addresses defined by the historical pattern of selected events or within a predefined deviation from the range of addresses defined by the historical pattern of selected events, wherein the selected event is consistent with the historical pattern based on the address being within the range of addresses defined by the historical pattern of selected events or within the predefined deviation from the range of addresses defined by the historical pattern of selected events.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the determining whether the event is consistent with the historical pattern comprises determining whether the selected event is consistent with a history of strides.

### Claim 5 (depends on 1)

The computer program product of claim 1, wherein the method further comprises maintaining a data structure that includes information relating to the historical pattern of selected events.

### Claim 6 (depends on 5)

The computer program product of claim 5, wherein the historical pattern of selected events comprises memory accesses and the data structure includes addresses accessed by the memory accesses.

### Claim 7 (depends on 5)

The computer program product of claim 5, wherein the data structure includes a configurable number of last verified data load addresses, wherein a data load address is verified based on an instruction initiating a load speculatively successfully retiring, and wherein the last verified data load addresses comprise a lower bound address and an upper bound address.

### Claim 8 (depends on 7)

The computer program product of claim 7, wherein the selected event comprises a memory access specified by a load instruction issued during speculative execution, and wherein the determining whether the selected event is consistent with the historical pattern of selected events comprises determining, based on obtaining the load instruction during speculative execution, whether a load address of the load instruction is within the lower bound address and the upper bound address or within a predefined deviation from a range of addresses defined by the lower bound address and the upper bound address, wherein the selected event is consistent with the historical pattern of selected events, based on the load address being within the lower bound address and the upper bound address or within the predefined deviation from the range of addresses.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the delaying processing comprises delaying execution of the load instruction in speculative execution.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the resuming processing comprises executing the load instruction based on determining that the selected event is valid.

### Claim 11

A computer system for facilitating processing within a computing environment, the computer system comprising:
a memory; and
a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:
determining whether a selected event of the computing environment is consistent with a historical pattern of selected events of the computing environment;
delaying processing associated with the selected event, based on determining that the selected event is inconsistent with the historical pattern of selected events;
determining, based on delaying processing associated with the selected event, whether the selected event is valid; and
resuming processing associated with the selected event, based on determining that the selected event is valid.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the selected event is a memory access requested by a program of the computing environment and the historical pattern of selected events includes memory accesses performed by another program of the computing environment.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the determining whether the selected event is consistent with the historical pattern comprises determining whether the memory access is for an address within a range of addresses defined by the historical pattern of selected events or within a predefined deviation from the range of addresses defined by the historical pattern of selected events, wherein the selected event is consistent with the historical pattern based on the address being within the range of addresses defined by the historical pattern of selected events or within the predefined deviation from the range of addresses defined by the historical pattern of selected events.

### Claim 14 (depends on 11)

The computer system of claim 11, further comprising a data structure that includes information relating to the historical pattern of selected events, the historical pattern of selected events comprising memory accesses and the data structure including addresses accessed by the memory accesses, wherein the data structure includes a configurable number of last verified data load addresses, wherein a data load address is verified based on an instruction initiating a load speculatively successfully retiring, and wherein the last verified data load addresses comprise a lower bound address and an upper bound address.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein the selected event comprises a memory access specified by a load instruction issued during speculative execution, and wherein the determining whether the selected event is consistent with the historical pattern of selected events comprises determining, based on obtaining the load instruction during speculative execution, whether a load address of the load instruction is within the lower bound address and the upper bound address or within a predefined deviation from a range of addresses defined by the lower bound address and the upper bound address, wherein the selected event is consistent with the historical pattern of selected events, based on the load address being within the lower bound address and the upper bound address or within the predefined deviation from the range of addresses.

### Claim 16

A computer-implemented method of facilitating processing within a computing environment, the computer-implemented method comprising:
determining whether a selected event of the computing environment is consistent with a historical pattern of selected events of the computing environment;
delaying processing associated with the selected event, based on determining that the selected event is inconsistent with the historical pattern of selected events;
determining, based on delaying processing associated with the selected event, whether the selected event is valid; and
resuming processing associated with the selected event, based on determining that the selected event is valid.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein the selected event is a memory access requested by a program of the computing environment and the historical pattern of selected events includes memory accesses performed by another program of the computing environment.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein the determining whether the selected event is consistent with the historical pattern comprises determining whether the memory access is for an address within a range of addresses defined by the historical pattern of selected events or within a predefined deviation from the range of addresses defined by the historical pattern of selected events, wherein the selected event is consistent with the historical pattern based on the address being within the range of addresses defined by the historical pattern of selected events or within the predefined deviation from the range of addresses defined by the historical pattern of selected events.

### Claim 19 (depends on 16)

The computer-implemented method of claim 16, further comprising maintaining a data structure that includes information relating to the historical pattern of selected events, wherein the historical pattern of selected events comprises memory accesses and the data structure includes addresses accessed by the memory accesses, and wherein the data structure includes a configurable number of last verified data load addresses, wherein a data load address is verified based on an instruction initiating a load speculatively successfully retiring, and wherein the last verified data load addresses comprise a lower bound address and an upper bound address.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19, wherein the selected event comprises a memory access specified by a load instruction issued during speculative execution, and wherein the determining whether the selected event is consistent with the historical pattern of selected events comprises determining, based on obtaining the load instruction during speculative execution, whether a load address of the load instruction is within the lower bound address and the upper bound address or within a predefined deviation from a range of addresses defined by the lower bound address and the upper bound address, wherein the selected event is consistent with the historical pattern of selected events, based on the load address being within the lower bound address and the upper bound address or within the predefined deviation from the range of addresses.
