Memory allocation method and multi-core concurrent memory allocation method
AssigneeAmlogic (Shanghai) Co., Ltd.
InventorTao ZENG
Life of this patent
Estimating the term…
Loading patent…
AssigneeAmlogic (Shanghai) Co., Ltd.
InventorTao ZENG
Estimating the term…
A memory/multi-core concurrent memory allocation method, which is applied to an embedded system, wherein a kernel module and a plurality of application programs are provided. The memory allocation method comprises: acquiring first memory allocation requests of the plurality of application programs; the kernel module determining whether preset screening marks exist in the first memory allocation requests; when screening marks exist in the first memory allocation requests, prohibiting allocating memory for the current application program managed by a contiguous memory allocator. By adopting the memory allocation method, the application programs which occupy contiguous memory allocated by the continuous memory allocator for a long time can be screened and removed, then contiguous memory allocation can be provided for the drivers in a shorter time, and the corresponding contiguous continuous memory can be allocated for the drivers through a plurality of processing units at the same time with a higher efficiency.
A memory allocation method, applied to an embedded system, wherein a kernel module and a plurality of application programs are provided;
A multi-core concurrent memory allocation method, comprising a memory allocation method applied to an embedded system, wherein a kernel module and a plurality of application programs are provided;
Dependencies are inferred from the claim text.