Method and apparatus for managing memory
First Claim
Patent Images
1. A method for managing a memory, the method comprising:
- setting a segment list of a contiguous memory allocation region, the segment list including a plurality of segments, each segment associated with a corresponding page unit memory allocation requester and a corresponding contiguous memory allocation requester;
receiving a first memory allocation request from a first memory allocation requester;
identifying a segment in the segment list having the first memory allocation requester as one of the corresponding page unit memory allocation requester or the corresponding contiguous memory allocation requester; and
allocating a page included in the segment in response to the memory allocation request,wherein the setting of the segment list comprises;
identifying a page unit memory allocation requester and a contiguous memory allocation requester that are not activated simultaneously; and
associating the identified page unit memory allocation requester and the identified contiguous memory allocation requester with a segment of the segment list.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
-
Citations
16 Claims
-
1. A method for managing a memory, the method comprising:
-
setting a segment list of a contiguous memory allocation region, the segment list including a plurality of segments, each segment associated with a corresponding page unit memory allocation requester and a corresponding contiguous memory allocation requester; receiving a first memory allocation request from a first memory allocation requester; identifying a segment in the segment list having the first memory allocation requester as one of the corresponding page unit memory allocation requester or the corresponding contiguous memory allocation requester; and allocating a page included in the segment in response to the memory allocation request, wherein the setting of the segment list comprises; identifying a page unit memory allocation requester and a contiguous memory allocation requester that are not activated simultaneously; and associating the identified page unit memory allocation requester and the identified contiguous memory allocation requester with a segment of the segment list. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An electronic device comprising:
-
a memory including a contiguous memory allocation region; and at least one processor configured to; set a segment list of the contiguous memory allocation region, the segment list including a plurality of segments, each segment associated with a corresponding page unit memory allocation requester and a corresponding contiguous memory allocation requester, receive a first memory allocation request from a first memory allocation requester, identify a segment in the segment list having the first memory allocation requester as one of the corresponding page unit memory allocation requester or the corresponding contiguous memory allocation requester, and allocate a page included in the segment in response to the memory allocation request, wherein to set the segment list, the at least one processor is configured to; identify a page unit memory allocation requester and a contiguous memory allocation requester that are not activated simultaneously, and associate the identified page unit memory allocation requester and the identified contiguous memory allocation requester with a segment of the segment list. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification