Memory management method for alleviating fragment generation
A memory management and cache management technology, applied in the computer field, can solve the problem that the memory block cannot meet new requests, and achieve the effects of reducing memory fragmentation, improving memory allocation efficiency, and suppressing memory fragmentation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] The present invention uses a kind of memory management method that alleviates fragmentation generation, and this invention mainly comprises:
[0018] (1) Memory reuse cache management
[0019] In the form of organization, the memory is classified according to the size after 4k alignment, and forms a singly linked list. Such as figure 2 Shown:
[0020] The application process, after aligning the requested memory size to 4k, searches for unused memory in this cache to see if there is a match. If there is a matching node, the corresponding memory address is returned. If there is no matching node, it is like The memory pool applies for free memory.
[0021] The release process inserts the released memory into the corresponding singly linked list according to its size (head insertion method).
[0022] (1) Memory pool management
[0023] In the form of organization, a whole block of continuous space applied for from the system is divided into several 4k memory blocks. ...
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