Method and apparatus for managing memory

    公开(公告)号:US10409498B2

    公开(公告)日:2019-09-10

    申请号:US15172951

    申请日:2016-06-03

    IPC分类号: G06F3/06

    摘要: A method for managing a memory and an electronic device are provided. The method includes setting a list including an exclusive relationship, between a page unit memory allocation requester and a contiguous memory allocation requester, corresponding to a segment of a contiguous memory allocation region, receiving a memory allocation request, confirming whether the memory allocation requester comprises the memory allocation requester included in the list, and allocating a page of the contiguous memory allocation region corresponding to the segment, if the memory allocation requester is included in the list.

    Electronic device and memory allocation method therefor

    公开(公告)号:US10255175B2

    公开(公告)日:2019-04-09

    申请号:US15570047

    申请日:2016-05-11

    摘要: 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.