US 12,373,352 B2
Method and device with memory access request processing
Dong-Uk Ryu, Seongnam-si (KR); and Jaewon Lee, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed on Dec. 2, 2022, as Appl. No. 18/073,971.
Claims priority of application No. 10-2022-0008732 (KR), filed on Jan. 20, 2022.
Prior Publication US 2023/0229598 A1, Jul. 20, 2023
Int. Cl. G06F 12/1009 (2016.01); G06F 12/1027 (2016.01)
CPC G06F 12/1009 (2013.01) [G06F 12/1027 (2013.01); G06F 2212/1024 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method of processing an access request to a memory, which is performed in association with execution of a kernel of a computing device, the method comprising:
receiving the access request to the memory based on a first virtual memory address;
determining whether a first physical memory address corresponding to the first virtual memory address is acquired based on a page table;
determining, in response to determining that the first physical memory address corresponding to the first virtual memory address is not acquired, whether the first virtual memory address is a valid address;
allocating, in response to determining that the first virtual memory address being is a valid address, at least one of a target virtual memory space and a target physical memory space for the access request based on a free memory pool for the kernel, the free memory pool is configured to comprise at least one of a page of a virtual memory space or a subpage of the page that is not currently used by a process, the allocating comprising:
allocating full frames of physical memory and associating the full frames with respective full virtual pages of a virtual memory space;
allocating partial frames of the physical memory and associating the partial frames with respective partial pages of the virtual memory address space; and
including partial frames and/or partial pages in the free memory pool, wherein the target virtual memory space or the target physical memory space comprises a partial frame and/or a partial page; and
processing the access request based on the allocated target virtual memory space or target physical memory space.