Internal memory distribution, cleaning and releasing method, and internal memory management apparatus
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAZHONG UNIV OF SCI & TECH
- Publication Date
- 2008-12-10
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to memory management technology, in particular to a method for allocating, clearing and releasing memory and a device for memory management. Background technique
[0002] With the widespread use of linux systems, the management of dynamic memory in the system has become more and more important. Because if the dynamic memory is short or improperly managed, it will cause the entire system to respond slowly, or even crash the entire system.
[0003] In order to ensure that the Linux memory management mechanism can run efficiently, many technologies are used in modern operating systems, among which the buddy algorithm is more commonly used. The algorithm was first proposed by Donald E. Knuth in 1968, and it is a fast classic algorithm for dynamic memory management.
[0004] In this algorithm there are multiple free queues with a block length of 2 k The free blocks of pages are all in the same queue. When you want to allocate a mem...