Memory dynamic management method and device
A dynamic management and memory technology, applied in the field of memory management, can solve problems such as resource waste, affecting the overall performance of the system, and insufficient large memory pools, and achieve the effect of improving efficiency and making full use of it
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0022] Please refer to figure 2 , figure 2 A flow chart of the memory dynamic management method provided by the embodiment of the present invention is shown. The processing method includes the following steps:
[0023] Step S101 , responding to a memory application request, and determining a target memory linked list from multiple memory linked lists according to the memory application request, wherein each memory linked list is composed of memory blocks with the same preset specification.
[0024] In the embodiment of the present invention, the memory resources are pre-applied, and part of the applied memory resources will be divided as the spare memory, and the remaining part except the spare memory will be divided into multiple memory blocks according to multiple preset specifications. Memory blocks of the same preset specification are organized in the same memory linked list. When an application program that needs to apply for memory initiates a memory application req...
Embodiment approach
[0031] As an implementation manner, the method for determining the memory block to be organized may be:
[0032] First, determine the memory linked list to be organized from other memory linked lists with free space.
[0033] In the embodiment of the present invention, the memory linked list where the memory block to be organized is the memory linked list to be organized, and the method for determining the memory linked list to be organized from other memory linked lists with free space may be: select from other memory linked lists with free space One or more memory linked lists are used as memory linked lists to be organized. In order to achieve simplicity, the method of determining the memory linked list to be organized from other memory linked lists with free space can also be: when the preset specification of the memory linked list with free space is greater than the target When the preset specification of the memory linked list is used, the memory linked list with the lea...
no. 2 example
[0055] Please refer to Figure 4 , Figure 4 A schematic block diagram of the memory dynamic management device 200 provided by the embodiment of the present invention is shown. The memory dynamic management apparatus 200 is applied to the storage space management device 100 and includes a response module 201 ; an update module 202 ; a merge module 203 ; an application module 204 ; and a clear module 205 .
[0056] The response module 201 is configured to respond to a memory application request, and determine a target memory linked list from multiple memory linked lists according to the memory application request, wherein each memory linked list is composed of memory blocks with the same preset specification.
[0057]In the embodiment of the present invention, the response module 201 is configured to execute step S101.
[0058] The update module 202 is configured to perform overcount accumulation on the target memory linked list when there is no idle state memory block in the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com