Memory block combination method and system
A memory block and memory technology, applied in memory systems, memory address/allocation/relocation, instruments, etc., can solve the problems of inability to merge memory blocks and low merge efficiency, and achieve the effect of improving fragment merge efficiency and reducing the number
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] The embodiment of the present invention provides a memory block merging method, including:
[0032] Step A: Scan memory blocks whose memory size is smaller than a preset memory threshold, and determine memory blocks whose memory is smaller than or equal to a preset fragment memory threshold as memory fragments;
[0033] If the preset fragmentation threshold is set to 1024k, memory blocks smaller than 1024k and 2 to the nth power are considered memory fragments.
[0034] Step B: obtaining the address of the memory fragment;
[0035] Starting from the first address, after finding a memory fragment, return its address.
[0036] Step C: Taking the address of the memory fragment as a starting point, it is judged whether the memory sum of the free blocks on the continuous addresses can reach the preset merged memory threshold, and if so, the memory sum reaches the preset merged memory threshold Merge free blocks to get a large memory block, go to step E, otherwise go to ste...
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