Method for improving utilization ratio of Linux idle memory blocks
A technology of free blocks and memory blocks, which is applied in the field of memory management and can solve problems such as insufficient utilization of free memory blocks and waste of free memory resources.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] The optimization method proposed by the present invention aimed at the deficiency of the buddy algorithm in Linux memory management will be described below in conjunction with the accompanying drawings.
[0015] In view of the flaws in the above-mentioned partner algorithm, we relax the restrictions on the partner relationship, modify the partner algorithm, and add a two-dimensional array availablefreeblock[][2] and an unsigned integer variable availablecount to the free_area_struct structure. The array availablefreeblock[][2] is used to store the starting page numbers of two adjacent free blocks that are not in partnership in the next level of free_area_struct; the variable availablecount represents the number of two adjacent free blocks that relax the partnership. The optimization scheme also modifies the memory allocation and release functions of the buddy algorithm. Under normal circumstances, the original buddy algorithm is used to manage the allocation of free bloc...
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