KR101891264B1 - 비휘발성 메모리 상의 메모리 객체 처리 방법 및 메모리 객체 처리 장치 - Google Patents
비휘발성 메모리 상의 메모리 객체 처리 방법 및 메모리 객체 처리 장치 Download PDFInfo
- Publication number
- KR101891264B1 KR101891264B1 KR1020160155961A KR20160155961A KR101891264B1 KR 101891264 B1 KR101891264 B1 KR 101891264B1 KR 1020160155961 A KR1020160155961 A KR 1020160155961A KR 20160155961 A KR20160155961 A KR 20160155961A KR 101891264 B1 KR101891264 B1 KR 101891264B1
- Authority
- KR
- South Korea
- Prior art keywords
- page
- memory
- memory object
- allocated
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
- G06F12/0871—Allocation or management of cache space
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0877—Cache access modes
- G06F12/0882—Page mode
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
도 2는 일실시예에 따른 메모리 캐시 리스트를 설명하기 위한 도면이다.
도 3은 일실시예에 따라 메모리 객체를 포함하는 페이지를 관리하는 제2 구조체를 설명하기 위한 도면이다.
도 4는 일실시예에 따라 새로운 페이지에 메모리 객체를 할당하는 과정을 설명하기 위한 도면이다.
도 5는 다른 일실시예에 따라 새로운 페이지에 메모리 객체를 할당하는 과정을 설명하기 위한 도면이다.
도 6은 일실시예에 따른 메모리 객체 처리 방법을 나타낸 도면이다.
110: 메모리 객체 리스트
120: 제1 페이지
130: 제2 페이지
150: 제3 페이지
Claims (16)
- 메모리 객체에 대한 할당 요청에 기초하여 비휘발성 메모리에 저장된 메모리 캐시 리스트를 확인하는 단계;
상기 메모리 캐시 리스트와 연결되고 제1 페이지에 포함된 제1 구조체를 확인하는 단계; 및
상기 제1 구조체에 기초하여 상기 제1 페이지에 포함된 제2 구조체를 확인함으로써 상기 제2 구조체에 대응하는 제2 페이지에 상기 메모리 객체의 할당이 가능한지 여부를 판단하는 단계
를 포함하고,
상기 제1 페이지 및 제2 페이지는 상기 비휘발성 메모리에 저장되며,
상기 제1 구조체는, 상기 제1 페이지에 상기 제2 구조체에 대한 데이터를 포함하고,
상기 제2 구조체는,
상기 제1 페이지와 구분되고 하나 이상의 메모리 객체를 포함하는 상기 제2 페이지에 대한 데이터를 포함하는, 메모리 객체 처리 방법. - 삭제
- 제1항에 있어서,
상기 제2 페이지에 상기 메모리 객체의 할당이 가능한 경우, 상기 메모리 객체가 할당될 제2 페이지의 여유 공간을 나타내는 상기 제2 구조체의 비트맵을 업데이트하고 상기 여유 공간에 대한 주소를 반환하는 단계
를 더 포함하는, 메모리 객체 처리 방법. - 제3항에 있어서,
상기 메모리 객체를 상기 제2 페이지의 여유 공간에 영속적으로 저장하는 단계
를 더 포함하는, 메모리 객체 처리 방법. - 제1항에 있어서,
상기 제2 페이지에 상기 메모리 객체의 할당이 가능하지 않는 경우, 하나 이상의 메모리 객체를 저장할 수 있는 제3 페이지를 상기 비휘발성 메모리에 할당하는 단계; 및
상기 메모리 객체가 할당될 제3 페이지의 여유 공간에 대한 주소를 반환하는 단계
를 더 포함하는, 메모리 객체 처리 방법. - 제5항에 있어서,
상기 제3 페이지를 관리하는 제3 구조체를 상기 제1 페이지에 할당하고, 상기 제3 구조체가 할당된 공간에 기초하여 상기 제1 구조체의 비트맵을 업데이트하는 단계
를 더 포함하는, 메모리 객체 처리 방법. - 제5항에 있어서,
상기 제3 페이지를 관리하는 제3 구조체를 상기 제1 페이지에 할당할 수 없는 경우, 하나 이상의 구조체를 저장할 수 있는 제4 페이지를 상기 비휘발성 메모리에 할당하는 단계; 및
상기 제3 구조체를 상기 제4 페이지에 할당하고, 상기 제3 구조체가 할당된 공간에 기초하여 상기 제4 페이지에 첫 번째로 포함된 제4 구조체의 비트맵을 업데이트하는 단계
를 더 포함하는, 메모리 객체 처리 방법. - 제7항에 있어서,
상기 제1 페이지에 첫 번째로 포함된 제1 구조체와 상기 제4 페이지에 첫 번째로 포함된 제4 구조체는, 상기 메모리 캐시 리스트를 통해 서로 연결되는, 메모리 객체 처리 방법. - 제1항에 있어서,
상기 메모리 캐시 리스트는, 상기 비휘발성 메모리의 슈퍼블록에 저장되는, 메모리 객체 처리 방법. - 제1항에 있어서,
상기 제1 구조체는,
상기 제1 페이지에 저장된 제2 구조체의 타입, 상기 비휘발성 메모리에서 제1 페이지의 주소 및 상기 제1 페이지에 저장된 제2 구조체에 대한 비트맵 중 적어도 하나를 포함하는, 메모리 객체 처리 방법. - 제1항에 있어서,
상기 제2 구조체는,
상기 제2 페이지에 저장된 데이터 객체의 타입, 상기 비휘발성 메모리에서 제2 페이지의 주소 및 상기 제2 페이지에 저장된 메모리 객체에 대한 비트맵 중 적어도 하나를 포함하는, 메모리 객체 처리 방법. - 메모리 객체를 처리하는 프로세서
를 포함하고,
상기 프로세서는,
상기 메모리 객체에 대한 할당 요청에 기초하여 비휘발성 메모리에 저장된 메모리 캐시 리스트를 확인하고, 상기 메모리 캐시 리스트와 연결되고 제1 페이지에 포함된 제1 구조체를 확인하며, 상기 제1 구조체에 기초하여 상기 제1 페이지에 포함된 제2 구조체를 확인함으로써 상기 제2 구조체에 대응하는 제2 페이지에 상기 메모리 객체의 할당이 가능한지 여부를 판단하고,
상기 제1 페이지 및 제2 페이지는 상기 비휘발성 메모리에 저장되고,
상기 제1 구조체는, 상기 제1 페이지에 상기 제2 구조체에 대한 데이터를 포함하고,
상기 제2 구조체는,
상기 제1 페이지와 구분되고 하나 이상의 메모리 객체를 포함하는 상기 제2 페이지에 대한 데이터를 포함하는, 메모리 객체 처리 장치. - 삭제
- 제12항에 있어서,
상기 프로세서는,
상기 제2 페이지에 상기 메모리 객체의 할당이 가능한 경우, 상기 메모리 객체가 할당될 제2 페이지의 여유 공간을 나타내는 상기 제2 구조체의 비트맵을 업데이트하고 상기 여유 공간에 대한 주소를 반환하는, 메모리 객체 처리 장치. - 제14항에 있어서,
상기 프로세서는,
상기 메모리 객체를 상기 제2 페이지의 여유 공간에 영속적으로 저장하는, 메모리 객체 처리 장치. - 제12항에 있어서,
상기 프로세서는,
상기 제2 페이지에 상기 메모리 객체의 할당이 가능하지 않는 경우, 하나 이상의 메모리 객체를 저장할 수 있는 제3 페이지를 상기 비휘발성 메모리에 할당하고,
상기 메모리 객체가 할당될 제3 페이지의 여유 공간에 대한 주소를 반환하는, 메모리 객체 처리 장치.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160051117 | 2016-04-26 | ||
KR20160051117 | 2016-04-26 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170122088A KR20170122088A (ko) | 2017-11-03 |
KR101891264B1 true KR101891264B1 (ko) | 2018-09-28 |
Family
ID=60383991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160155961A Expired - Fee Related KR101891264B1 (ko) | 2016-04-26 | 2016-11-22 | 비휘발성 메모리 상의 메모리 객체 처리 방법 및 메모리 객체 처리 장치 |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101891264B1 (ko) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101113755B1 (ko) | 2011-01-28 | 2012-02-27 | 엘아이지넥스원 주식회사 | 프리 메모리 관리 구조체를 사용하는 메모리 관리 방법 |
-
2016
- 2016-11-22 KR KR1020160155961A patent/KR101891264B1/ko not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101113755B1 (ko) | 2011-01-28 | 2012-02-27 | 엘아이지넥스원 주식회사 | 프리 메모리 관리 구조체를 사용하는 메모리 관리 방법 |
Also Published As
Publication number | Publication date |
---|---|
KR20170122088A (ko) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2658886C1 (ru) | Способ управления файлами, распределенная система хранения и узел управления | |
US20230196502A1 (en) | Dynamic kernel memory space allocation | |
KR101786871B1 (ko) | 원격 페이지 폴트 처리 장치 및 그 방법 | |
US8037279B2 (en) | Method and system for cross-domain data sharing | |
KR102275563B1 (ko) | 호스트-관리 비휘발성 메모리 | |
US8862703B2 (en) | Address server | |
US10705951B2 (en) | Shared fabric attached memory allocator | |
JP2020511714A5 (ko) | ||
CN110096221B (zh) | 存储器系统及其控制方法 | |
WO2014171223A1 (ja) | 情報処理装置、情報処理方法、およびプログラム | |
US20160179580A1 (en) | Resource management based on a process identifier | |
US9336065B2 (en) | Semiconductor device and memory protection method | |
US8423712B2 (en) | Methods and systems for releasing and re-allocating storage segments in a storage volume | |
WO2017054636A1 (zh) | 虚拟快照处理方法及装置 | |
US8274521B2 (en) | System available cache color map | |
CN114556309A (zh) | 内存空间的分配方法、装置及存储介质 | |
JP5492731B2 (ja) | 仮想計算機のボリューム割当て方法およびその方法を用いた計算機システム | |
US10152258B1 (en) | Big block allocation of persistent main memory | |
SG183093A1 (en) | Dual mode reader writer lock | |
CN104536764A (zh) | 程序运行方法和装置 | |
KR101891264B1 (ko) | 비휘발성 메모리 상의 메모리 객체 처리 방법 및 메모리 객체 처리 장치 | |
CN118193222A (zh) | 一种内存处理方法、装置、电子设备及存储介质 | |
JP7217341B2 (ja) | プロセッサおよびレジスタの継承方法 | |
KR101990201B1 (ko) | 뉴메모리 기반 메모리 관리 방법 및 이를 수행하는 장치들 | |
US10168911B1 (en) | Defragmentation of persistent main memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20161122 |
|
PA0201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20171029 Patent event code: PE09021S01D |
|
PG1501 | Laying open of application | ||
E601 | Decision to refuse application | ||
PE0601 | Decision on rejection of patent |
Patent event date: 20180523 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20171029 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |
|
AMND | Amendment | ||
PX0901 | Re-examination |
Patent event code: PX09011S01I Patent event date: 20180523 Comment text: Decision to Refuse Application |
|
PX0701 | Decision of registration after re-examination |
Patent event date: 20180814 Comment text: Decision to Grant Registration Patent event code: PX07013S01D Patent event date: 20180723 Comment text: Amendment to Specification, etc. Patent event code: PX07012R01I Patent event date: 20180523 Comment text: Decision to Refuse Application Patent event code: PX07011S01I |
|
X701 | Decision to grant (after re-examination) | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20180817 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20180820 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20210817 Start annual number: 4 End annual number: 4 |
|
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20230528 |