发明名称 |
MEMORY ALLOCATION IMPROVEMENTS |
摘要 |
In one embodiment, a memory allocator of a memory manager can service memory allocation requests within a specific size-range from a section of pre-reserved virtual memory. The pre-reserved virtual memory allows allocation requests within a specific size range to be allocated in the pre-reserved region, such that the virtual memory address of a memory allocation serviced from the pre-reserved region can indicate elements of metadata associated with the allocations that would otherwise contribute to overhead for the allocation. |
申请公布号 |
US2014359248(A1) |
申请公布日期 |
2014.12.04 |
申请号 |
US201314020766 |
申请日期 |
2013.09.06 |
申请人 |
Apple Inc. |
发明人 |
Peters Stephen C.;Sokol, JR. Joseph |
分类号 |
G06F12/02 |
主分类号 |
G06F12/02 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method at a memory manager for managing memory allocations in a data processing system, the method comprising:
requesting a block of memory from a reserved address range, to allocate memory to a process; dividing the block of memory into a set of memory lanes; receiving an allocation request for a chunk of memory, wherein the chunk of memory has a size within a size-range of a first allocator of the memory manager; and assigning a partition of a lane from the set of memory lanes to the process, wherein a virtual memory address of the partition defines allocation metadata associated with the lane. |
地址 |
Cupertino CA US |