# US 2022/0292027 A1 · Shared virtual address spaces

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

- Number: US 2022/0292027 A1
- Document ID: US20220292027A1
- Status: Published application
- Kind: A1
- Application number: 17/647,580
- Filed: 2022-01-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Bryan Hornung; Tony M. Brewer
- Web page: https://patentgrep.com/patent/US20220292027A1

## CPC

- G06F 12/10: Address translation
- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 2212/1056: Simplification
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems, and devices for shared virtual address spaces are described. In some examples, a globally shared address space may be shared across a plurality of memory devices that are included in one or more domains. A host system may set parameters for determining whether an address (e.g., a virtual address) is included within the globally shared address space, and whether the address is associated with a memory device. When a memory device receives a memory request (e.g., a data packet), a processing unit of the memory device may determine whether an address included in the memory request is associated with the memory device. The processing unit may either initiate an access operation on a physical address of the memory device or transmit the memory request to another memory device.

## Claims

### Claim 1

A method, comprising:
receiving, at a first memory device, a memory request associated with a virtual address of a virtual address space;
determining that the virtual address is within a shared address space of the virtual address space based at least in part on the virtual address;
determining that the virtual address is associated with the first memory device based at least in part on the virtual address, a device identifier associated with the first memory device for the shared address space, and a parameter associated with a range of the virtual address corresponding to a device identifier of the memory request; and
translating the virtual address to a physical address associated with the first memory device based at least in part on determining that the virtual address is within the shared address space and associated with the first memory device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, from a host system coupled with the first memory device, the parameter associated with the range of the virtual address corresponding to the device identifier, wherein determining that the virtual address is associated with the first memory device is based at least in part on receiving the parameter.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining that the virtual address is within the shared address space of the virtual address space comprises:
comparing a first value represented by a first subset of bits that are included in the virtual address to a second value; and
comparing the first value represented by the first subset of bits that are included in the virtual address to a third value based at least in part on comparing the first value to the second value.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining that the first value is greater than or equal to the second value; and
determining that the first value is less than or equal to the third value, wherein the virtual address is within the shared address space of the virtual address space based at least in part on the first value being greater than or equal to the second value and the first value being less than or equal to the third value.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining that the virtual address is associated with the first memory device comprises:
identifying a second subset of bits that are included in the virtual address based at least in part on the parameter associated with the range of the virtual address; and
comparing a second value represented by the second subset of bits to the device identifier based at least in part on identifying the second subset of bits, wherein translating the virtual address to the physical address is based at least in part on the second value matching the device identifier associated with the first memory device.

### Claim 6 (depends on 5)

The method of claim 5, wherein the virtual address comprises a third subset of bits that indicate a position of a first bit included in the second subset of bits, wherein identifying the second subset of bits is based at least in part on a third value represented by the third subset of bits.

### Claim 7 (depends on 1)

The method of claim 1, wherein the device identifier comprises a plurality of device identifiers associated with a plurality of shared address spaces and the parameter comprises a plurality of parameters associated with respective ranges of the plurality of shared address spaces, and wherein determining that the virtual address is associated with the first memory device comprises:
identifying, for each of the plurality of parameters, respective subsets of bits of the virtual address based at least in part on a respective parameter of the plurality of parameters; and
comparing values represented by the respective subsets of bits to respective device identifiers of the plurality of device identifiers based at least in part on identifying the respective subsets of bits, wherein translating the virtual address to the physical address is based at least in part on the one of the values matching the respective device identifier.

### Claim 8 (depends on 1)

The method of claim 1, wherein translating the virtual address to the physical address is based at least in part on one or more processes associated with the shared address space of the virtual address space.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, from a host system coupled with the first memory device, signaling comprising the device identifier associated with the first memory device for the shared address space and the parameter associated with the range of the virtual address corresponding to the device identifier, wherein the device identifier and the parameter are stored to a table for determining whether virtual addresses are associated with the first memory device.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
transmitting the virtual address to a second memory device based at least in part on determining that the virtual address is not associated with the first memory device.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
generating an identifier associated with the shared address space of the virtual address space based at least in part on determining that the virtual address is not associated with the first memory device; and
transmitting the identifier with the virtual address to the second memory device based at least in part on generating the identifier.

### Claim 12

A method, comprising:
receiving, at a first memory device, a memory request associated with a virtual address of a virtual address space;
determining that the virtual address is within a shared address space of the virtual address space based at least in part on the virtual address;
determining that the virtual address is not associated with the first memory device based at least in part on the virtual address, a device identifier associated with the first memory device for the shared address space, and a parameter associated with a range of the virtual address corresponding to a device identifier of the memory request; and
transmitting the virtual address to a second memory device according to a device identifier associated with the second memory device based at least in part on determining that that the virtual address is within the shared address space and the virtual address is associated with the second memory device.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
generating, based at least in part on determining that the virtual address is not associated with the first memory device, a second identifier for transmitting to the second memory device, wherein the second identifier is associated with a global virtual address for transmitting to the second memory device, wherein transmitting the virtual address comprises transmitting the second identifier.

### Claim 14 (depends on 12)

The method of claim 12, wherein determining that the virtual address is not associated with the first memory device comprises:
identifying a subset of bits that are included in the virtual address based at least in part on the parameter associated with the range of the virtual address corresponding to the device identifier of the memory request; and
comparing a value represented by the subset of bits to the device identifier based at least in part on identifying the subset of bits, wherein transmitting the virtual address to the second memory device is based at least in part on the value being different than the device identifier associated with the first memory device.

### Claim 15 (depends on 12)

The method of claim 12, wherein the first memory device is located within a first memory system and the second memory device is located within a second memory system that is different than the first memory system.

### Claim 16 (depends on 12)

The method of claim 12, wherein the first memory device and the second memory device are each located within a same memory system.

### Claim 17 (depends on 12)

The method of claim 12, wherein the first memory device and the second memory device are associated with respective ranges of the shared address space of the virtual address space.

### Claim 18

A first memory device, comprising:
a memory medium; and
a controller coupled with the memory medium, wherein the controller is configured to cause the first memory device to:
receive a memory request associated with a virtual address of a virtual address space;
determine that the virtual address is within a shared address space of the virtual address space based at least in part on the virtual address;
determine that the virtual address is associated with the first memory device based at least in part on the virtual address, a device identifier associated with the first memory device for the shared address space, and a parameter associated with a range of the virtual address corresponding to a device identifier of the memory request; and
translate the virtual address to a physical address associated with the memory medium based at least in part on determining that the virtual address is within the shared address space and the virtual address is associated with the first memory device.

### Claim 19 (depends on 18)

The first memory device of claim 18, wherein the controller is further configured to cause the first memory device to:
receive, from a host system coupled with the first memory device, the parameter associated with the range of the virtual address corresponding to the device identifier, wherein determining that the virtual address is associated with the first memory device is based at least in part on receiving the parameter.

### Claim 20 (depends on 18)

The first memory device of claim 18, wherein, to determine that the virtual address is within the shared address space of the virtual address space, the controller is configured to cause the first memory device to:
compare a first value represented by a first subset of bits that are included in the virtual address to a second value; and
compare the first value represented by the first subset of bits that are included in the virtual address to a third value based at least in part on comparing the first value to the second value.

### Claim 21 (depends on 20)

The first memory device of claim 20, wherein the controller is further configured to cause the first memory device to:
determine that the first value is greater than or equal to the second value; and
determine that the first value is less than or equal to the third value, wherein the virtual address is within the shared address space of the virtual address space based at least in part on the first value being greater than or equal to the second value and the first value being less than or equal to the third value.

### Claim 22 (depends on 18)

The first memory device of claim 18, wherein, to determine that the virtual address is associated with the first memory device, the controller is configured to cause the first memory device to:
determine that the virtual address is associated with the first memory device by:
identify a second subset of bits that are included in the virtual address based at least in part on the parameter associated with the range of the virtual address corresponding to the device identifier of the memory request; and
compare a second value represented by the second subset of bits to the device identifier based at least in part on identifying the second subset of bits, wherein translating the virtual address to the physical address is based at least in part on the second value matching the device identifier associated with the first memory device.

### Claim 23 (depends on 22)

The first memory device of claim 22, wherein the virtual address comprises a third subset of bits that indicate a position of a first bit included in the second subset of bits, wherein identifying the second subset of bits is based at least in part on a third value represented by the third subset of bits.

### Claim 24 (depends on 22)

The first memory device of claim 22, wherein the device identifier comprises a plurality of device identifiers associated with a plurality of shared address spaces and the parameter comprises a plurality of parameters associated with respective ranges of the plurality of shared address spaces, and wherein, to determine that the virtual address is associated with the first memory device, the controller is configured to cause the first memory device to:
identify, for each of the plurality of parameters, respective subsets of bits of the virtual address based at least in part on a respective parameter of the plurality of parameters; and
compare values represented by the respective subsets of bits to respective device identifiers of the plurality of device identifiers based at least in part on identifying the respective subsets of bits, wherein translating the virtual address to the physical address is based at least in part on the one of the values matching the respective device identifier.

### Claim 25 (depends on 18)

The first memory device of claim 18, wherein the controller is further configured to cause the first memory device to:
translate the virtual address to the physical address based at least in part on one or more processes associated with the shared address space of the virtual address space.

### Claim 26 (depends on 18)

The first memory device of claim 18, wherein the controller is further configured to cause the first memory device to:
receive, from a host system coupled with the first memory device, signaling comprising the device identifier associated with the first memory device for the shared address space and the parameter associated with the range of the virtual address corresponding to the device identifier, wherein the device identifier and the parameter are stored to a table for determining whether virtual addresses are associated with the first memory device.

### Claim 27 (depends on 18)

The first memory device of claim 18, wherein the controller is further configured to cause the first memory device to:
transmit the virtual address to a second memory device based at least in part on determining that the virtual address is not associated with the first memory device.

### Claim 28 (depends on 27)

The first memory device of claim 27, wherein the controller is further configured to cause the first memory device to:
generate an identifier associated with the shared address space of the virtual address space based at least in part on determining that the virtual address is not associated with the first memory device; and
transmit the identifier with the virtual address to the second memory device based at least in part on generating the identifier.

### Claim 29

A first memory device, comprising:
a memory medium; and
a controller coupled with the memory medium, wherein the controller is configured to cause the first memory device to:
receive a memory request associated with a virtual address of a virtual address space;
determine that the virtual address is within a shared address space of the virtual address space based at least in part on the virtual address;
determine that the virtual address is not associated with the first memory device based at least in part on the virtual address, a device identifier associated with the first memory device for the shared address space, and a parameter associated with a range of the virtual address corresponding to a device identifier of the memory request; and
transmit the virtual address to a second memory device according to a device identifier associated with the second memory device based at least in part on determining that the virtual address is within the shared address space of the virtual address space and the virtual address is associated with the second memory device.

### Claim 30 (depends on 29)

The first memory device of claim 29, wherein the controller is further configured to cause the first memory device to:
generate, based at least in part on determining that the virtual address is not associated with the first memory device, a second identifier for transmitting to the second memory device, wherein the second identifier is associated with a global virtual address, wherein transmitting the virtual address comprises transmitting the second identifier.

### Claim 31 (depends on 29)

The first memory device of claim 29, wherein, to determine that the virtual address is not associated with the first memory device, the controller is configured to cause the first memory device to:
identify a subset of bits that are included in the virtual address based at least in part on the parameter associated with the range of the virtual address corresponding to the device identifier of the memory request; and
compare a value represented by the subset of bits to the device identifier based at least in part on identifying the subset of bits, wherein transmitting the virtual address to the second memory device is based at least in part on the value being different than the device identifier associated with the first memory device.

### Claim 32 (depends on 29)

The first memory device of claim 29, wherein the first memory device is located within a first memory system and the second memory device is located within a second memory system that is different than the first memory system.

### Claim 33 (depends on 29)

The first memory device of claim 29, wherein the first memory device and the second memory device are each located within a same memory system.

### Claim 34 (depends on 29)

The first memory device of claim 29, wherein the first memory device and the second memory device are each associated with respective ranges of the shared address space of the virtual address space.

### Claim 35

A non-transitory computer-readable medium storing code comprising instructions which, when executed by a processor of a first memory device, cause the first memory device to:
receive a memory request associated with a virtual address of a virtual address space;
determine that the virtual address is within a shared address space of the virtual address space based at least in part on the virtual address;
determine that the virtual address is associated with the first memory device based at least in part on the virtual address, a device identifier associated with the first memory device for the shared address space, and a parameter associated with a range of the virtual address corresponding to a device identifier of the memory request; and
translate the virtual address to a physical address associated with the first memory device based at least in part on determining that the virtual address is within the shared address space and the virtual address is associated with the first memory device.
