# US 2021/0081325 A1 · Memory system for binding data to a memory namespace

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

- Number: US 2021/0081325 A1
- Document ID: US20210081325A1
- Status: Published application
- Kind: A1
- Application number: 16/573,535
- Filed: 2019-09-17
- Published: 2021-03-18
- Earliest claimed: 2019-09-17
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Samuel E. Bradshaw; Shivasankar Gunasekaran; Hongyu Wang; Justin M. Eno
- Web page: https://patentgrep.com/patent/US20210081325A1

## CPC

- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 3/061: {Improving I/O performance}
- G06F 3/0611: {in relation to response time}
- G06F 3/0625: {Power saving in storage systems}
- G06F 3/0649: {Lifecycle management}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/068: {Hybrid storage device}
- G06F 9/5016: {the resource being the memory}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7202: Allocation control and policies
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A computer system includes physical memory devices of different types that store randomly-accessible data in a main memory of the computer system. In one approach, an operating system allocates memory from a namespace for use by an application. The namespace is a logical reference to physical memory devices in which physical addresses are defined. The namespace is bound to a memory type. In response to binding the namespace to the memory type, the operating system adjusts a page table to map a logical memory address in the namespace to a memory device of the memory type.

## Claims

### Claim 1

A method comprising:
creating, by at least one processing device, namespaces for memory devices of different memory types, the namespaces including a first namespace for a first memory device of a first memory type, and a second namespace for a second memory device of a second memory type;
receiving, from an application, a request for an allocation of memory, wherein the request specifies that data associated with the application be stored in physical memory of the first memory type;
in response to receiving the request, binding the data associated with the application to the first namespace; and
in response to binding the data to the first namespace, storing the data in the first memory device.

### Claim 2 (depends on 1)

The method of claim 1, wherein storing the data in the first memory device comprises moving the data from the second memory device to the first memory device.

### Claim 3 (depends on 1)

The method of claim 1, wherein binding the data to the first namespace comprises a change in binding of the data from the second namespace to the first namespace.

### Claim 4 (depends on 1)

The method of claim 1, wherein an operating system is running on the at least one processing device, and wherein binding the data to the first namespace is performed by the operating system in response to the request.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first namespace is created by the operating system in response to the request.

### Claim 6 (depends on 1)

The method of claim 1, wherein creating the namespaces comprises associating a respective virtual address to each namespace.

### Claim 7 (depends on 6)

The method of claim 6, wherein binding the data to the first namespace comprises storing a mapping between a virtual address of the first namespace and a first physical address of the first memory device.

### Claim 8 (depends on 7)

The method of claim 7, wherein the virtual address of the first namespace is in a first address range of an address space of the at least one processing device, and wherein storing the mapping comprises storing metadata that associates the first address range with the first memory device.

### Claim 9 (depends on 7)

The method of claim 7, wherein the virtual address of the first namespace corresponds to a virtual page of a process managed by an operating system using a page table, and wherein storing the mapping comprises generating a page table entry in the page table that maps the virtual address of the first namespace to the first physical address.

### Claim 10 (depends on 1)

The method of claim 1, further comprising storing, in a memory by an operating system, associations between namespaces and sets of data bound to the namespaces.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining an increase in a priority for the application;
wherein binding the data to the first namespace is performed further in response to determining the increase in the priority, wherein binding the data to the first namespace comprises a change in binding from the second namespace to the first namespace, and wherein a latency of the first memory device is less than a latency of the second memory device.

### Claim 12 (depends on 1)

The method of claim 1, wherein creating the first namespace comprises storing an identification of the first namespace in memory of the first memory device.

### Claim 13

(canceled)

### Claim 14

A system comprising:
a first memory device of a first memory type;
at least one processing device; and
memory containing instructions configured to instruct the at least one processing device to:
in response to a request by an application, allocate, by an operating system, memory from a namespace for use by the application, wherein the namespace is a logical reference to one or more physical memory devices in which physical addresses are defined;
bind the namespace to the first memory type; and
in response to binding the namespace to the first memory type, adjust, by the operating system, a page table to map a logical memory address in the namespace to the first memory device.

### Claim 15 (depends on 14)

The system of claim 14, wherein the instructions are further configured to instruct the at least one processing device to access, using data from the page table, data at a first physical address in the first memory device that corresponds to the logical memory address in the namespace.

### Claim 16 (depends on 15)

The system of claim 15, wherein the data from the page table is cached in a translation lookaside buffer, and wherein a memory management unit accesses the translation lookaside buffer to translate the logical memory address to the first physical address.

### Claim 17 (depends on 14)

The system of claim 14, further comprising a second memory device of a second memory type, wherein the instructions are further configured to instruct the at least one processing device to store, using data from the page table, data in the first memory device by moving the data from a second memory device of a second memory type to the first memory device.

### Claim 18

A non-transitory machine-readable storage medium storing instructions which, when executed on at least one processing device, cause the at least one processing device to at least:
create namespaces for memory devices of different memory types, the namespaces including a first namespace for a first memory device of a first memory type, and a second namespace for a second memory device of a second memory type;
receive, from an application, a request for an allocation of memory, wherein the request specifies that data associated with the application be stored in physical memory of the first memory type; and
in response to receiving the request, bind the data associated with the application to the first namespace.

### Claim 19 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein:
binding the data to the first namespace is performed in response to the request; and
binding the data to the first namespace comprises a change in binding for the data from the second namespace to the first namespace.

### Claim 20 (depends on 18)

The non-transitory machine-readable storage medium of claim 18, wherein:
binding the data to the first namespace comprises storing a mapping between a virtual address range of the first namespace and a first physical address of the first memory device; and
storing the mapping comprises storing metadata that associates the virtual address range with the first memory device.
