ELECTRONIC DEVICE AND MEMORY ALLOCATION METHOD THEREFOR

An electronic device according to an embodiment of the present invention comprises: a memory including a plurality of pages; and a control unit which, in a case where a memory defragmentation request occurs when a request for memory allocation is made, selects a page area having no non-movable page...

Full description

Saved in:
Bibliographic Details
Main Authors KIM, Kibeom, LEE, HyoJeong, PARK, Jihwan, KIM, Kwonsik
Format Patent
LanguageEnglish
French
Korean
Published 17.11.2016
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:An electronic device according to an embodiment of the present invention comprises: a memory including a plurality of pages; and a control unit which, in a case where a memory defragmentation request occurs when a request for memory allocation is made, selects a page area having no non-movable page among a plurality of page areas in the memory, on the basis of page state information on the plurality of page areas, moves a movable page in the selected page area, and allocates the selected page area in response to the request for memory allocation after the movable page has been moved. However, the present invention is not limited to the above embodiment, and other embodiments are possible. La présente invention concerne un dispositif électronique selon un mode de réalisation qui comprend : une mémoire comprenant une pluralité de pages ; et une unité de commande qui, dans un cas où une demande de défragmentation de mémoire se produit lorsqu'une demande d'attribution de mémoire est effectuée, sélectionne une zone de page n'ayant pas de page non mobile parmi une pluralité de zones de page dans la mémoire, sur la base d'informations d'état de page sur la pluralité de zones de page, déplace une page mobile dans la zone de page sélectionnée et attribue la zone de page sélectionnée en réponse à la demande d'attribution de mémoire après que la page mobile a été déplacée. Cependant, la présente invention ne se limite pas au mode de réalisation susmentionné et d'autres modes de réalisation sont possibles. 본 발명의 실시 예에 따른 전자 장치는, 복수의 페이지를 포함하는 메모리; 및 메모리 할당 요청 시 메모리 단편화 제거 요청이 발생하는 경우, 상기 메모리 내 복수의 페이지 영역에 대한 페이지 상태 정보를 기반으로 상기 복수의 페이지 영역 중 이동 불가능 페이지가 없는 페이지 영역을 선택하고, 상기 선택된 페이지 영역 내의 이동 가능 페이지를 이동시키며, 상기 이동 가능 페이지의 이동 후, 상기 선택된 페이지 영역을 상기 메모리 할당 요청에 대응하여 할당하는 제어부를 포함하는 것을 특징으로 한다. 다만, 상기 실시 예에 한정되지 않으며 다른 실시 예가 가능하다.
Bibliography:Application Number: WO2016KR04934