Memory management method and device

A memory management and memory resource technology, applied in the field of memory management methods and devices, can solve problems affecting the concurrent processing efficiency of the system and the like

Inactive Publication Date: 2017-12-26
DATANG MOBILE COMM EQUIP CO LTD
View PDF11 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the mutual exclusion operation will cause the tasks that cannot obtain the memory mutex to enter the blocked state, thus affecting the concurrent processing efficiency of the system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory management method and device
  • Memory management method and device
  • Memory management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The embodiment of the present invention is applicable to a single CPU system, and also applicable to a multi-CPU system. By using the embodiment of the present invention, the use of memory mutexes can be reduced, thereby improving the concurrent processing efficiency of the SMP system.

[0023] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0024] see figure 1 , is a schematic flowchart of an overall scheme of memory resource management in an embodiment of the present invention, and the process can be implemented by a device for implementing memory resource management (hereinafter referred to as a memory resource management device). As shown in the figure, the journey may include the following steps:

[0025] Step 101: Receive a memory resource allocation request sent by a first task.

[0026] The memory resource allocation request can be used to request allocation of memory resources used by th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a memory management method and device. In the method, whether free memory resource capacity in a private memory resource pool of a first task satisfies a memory resource allocation request sent by the first task is judged after the memory resource allocation request is received, and if yes, memory resources are acquired from the private memory resource pool of the first task for allocation. The private memory resource pool of the task is created for the one task, when the memory resources are allocated, the memory resources are preferentially acquired from the private memory resource pool for allocation, and resource conflict among private memory resource pools and a shared memory resource pool of different tasks will not exist, thus the resource conflict can also be avoided without the need for using a memory mutex in a case where the allocated resources are from the private memory resource pool, and therefore, compared with the prior art, the method reduces use of the memory mutex.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a memory management method and device. Background technique [0002] With the rapid development of multi-core processors, a software parallel processing architecture based on Symmetric Multi-Processing (SMP) has been gradually popularized and applied. In an SMP system, concurrent execution performance directly affects the overall performance of the system, and frequent memory application and release and memory-based message communication are key factors affecting performance in large-scale software. Therefore, how to effectively improve the memory management efficiency under the SMP system has become a important question. [0003] In existing memory resource management schemes, memory blocks are managed in the form of a linked list. If multiple tasks operate on a linked list at the same time, mutual exclusion operations are required to avoid resource conflicts. Among the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016G06F9/5022G06F2209/5011
Inventor 笪禹
Owner DATANG MOBILE COMM EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products