US 12,423,024 B2
Method and device for accessing memory
Kwang-Won Koh, Daejeon (KR); Kang Ho Kim, Daejeon (KR); Changdae Kim, Daejeon (KR); and Taehoon Kim, Daejeon (KR)
Assigned to ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed by ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed on May 9, 2024, as Appl. No. 18/660,095.
Application 18/660,095 is a continuation of application No. 17/741,187, filed on May 10, 2022, granted, now 12,008,261.
Claims priority of application No. 10-2021-0060779 (KR), filed on May 11, 2021.
Prior Publication US 2024/0295987 A1, Sep. 5, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0656 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A memory access method, comprising:
identifying, when an access to a page of a remote memory occurs, a type of the access;
allocating a sparse buffer when the access is a sparse write;
storing data for the sparse write in the sparse buffer;
storing an address for the sparse write as a key and the sparse buffer as a value in a buffer table; and
updating an instruction pointer to point to a next instruction,
wherein, when a read access to the page of the remote memory occurs, the method further comprises:
searching the buffer table by using an address for the read access as a key; and
determining from the searched result whether a sparse buffer corresponding to the address for the read access exists,
wherein, when it is determined that the sparse buffer corresponding to the address for the read access exists, the method further comprises:
fetching the page from the remote memory into the local memory;
reflecting the data stored in the sparse buffer to the fetched page; and
mapping the reflected page as read-only to an address space.