Electronic device and memory allocation method therefor
AssigneeSamsung Electronics Co., Ltd.
InventorsKwonsik Kim, Jihwan Park, Kibeom Kim, Hyojeong Lee
Life of this patent
Estimating the term…
Abstract
An electronic device according to an embodiment of the present disclosure comprises: a memory including a plurality of pages; and a controller selecting a page area having no non-movable page from a plurality of page areas in the memory based on page state information on the plurality of page areas if a memory defragmentation request occurs when a memory allocation request is made, moving a movable page in the selected page area, and allocating the selected page area in response to the memory allocation request after the movable page has been moved. However, the present disclosure is not limited to the above embodiment, and other embodiments are possible.
Claims15
An electronic device, comprising:
- a memory including a plurality of pages;
- and
- a controller selecting a page area having no non-movable page from a plurality of page areas in the memory based on page state information on the plurality of page areas if a memory defragmentation request occurs when a memory allocation request is made, moving a movable page in the selected page area, and allocating the selected page area in response to the memory allocation request after the movable page has been moved.
A memory allocation method for an electronic device, comprising:
- selecting a page area having no a non-movable page from a plurality of page areas based on page state information on the plurality of page areas within a memory, if a memory defragmentation request is made when a memory allocation request is made;
- moving a movable page in the selected page area;
- and
- allocating the selected page area in response to the memory allocation request, after the movable page has been moved.
Dependencies are inferred from the claim text.