Electronic device and method for managing memory thereof
First Claim
1. A method for an electronic device to manage memory, comprising:
- determining whether at least two virtual addresses are contiguous, from a plurality of entries;
determining whether at least two physical addresses mapped to the at least two virtual addresses are contiguous, in case that the at least two virtual addresses are contiguous;
merging at least two entries in which the virtual address and the physical address are consecutive into one merged entry, in case that the at least two physical addresses are contiguous, the merged entry including a specific bit; and
storing the merged entry in a first memory comprising a plurality of ways, the merged entry comprising information indicating a number of entries being merged,wherein a location, where the merged entry is stored, is determined at a way of the plurality of ways based on the specific bit and the information indicating the number of entries being merged.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device and a method for managing memory thereof are disclosed. According to an embodiment of the present disclosure, a method for an electronic device to manage memory, comprising: determining whether a physical address mapped to a virtual address is consecutive with respect to at least two entries belonging to a plurality of entries having virtual addresses and physical addresses mapped and including a consecutive virtual address; merging entries in which the virtual address and the physical address are consecutive into one entry if, as a result of the determination, the physical addresses of the at least entries are consecutive; and storing the merged entry in first memory.
-
Citations
15 Claims
-
1. A method for an electronic device to manage memory, comprising:
-
determining whether at least two virtual addresses are contiguous, from a plurality of entries; determining whether at least two physical addresses mapped to the at least two virtual addresses are contiguous, in case that the at least two virtual addresses are contiguous; merging at least two entries in which the virtual address and the physical address are consecutive into one merged entry, in case that the at least two physical addresses are contiguous, the merged entry including a specific bit; and storing the merged entry in a first memory comprising a plurality of ways, the merged entry comprising information indicating a number of entries being merged, wherein a location, where the merged entry is stored, is determined at a way of the plurality of ways based on the specific bit and the information indicating the number of entries being merged. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An electronic device, comprising:
-
a first memory; and a controller configured to determine whether at least two virtual addresses are contiguous, from a plurality of entries, determine whether at least two physical addresses mapped to the at least two virtual addresses are contiguous, in case that the at least two virtual addresses are contiguous, merge at least two entries in which the virtual address and the physical address are consecutive into one merged entry, in case that the at least two physical addresses are contiguous, the merged entry including a specific bit, and store the merged entry in the first memory comprising a plurality of ways, the merged entry comprising information indicating a number of entries being merged, wherein a location, where the merged entry is stored, is determined at a way of the plurality of ways based on the specific bit and the information indicating the number of entries being merged. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
Specification