Design and implementation for an automatic buffer management based on LINUX
Jia Wang · Journal of Liaoning Technical University · 2011
To avoid the problem of memory leak and memory waste,which is caused by freeing and allocating memory,this paper proposes an automatic buffer management mechanism.The buffer management mechanism based on the abstract buffer has a good adaptive ability and supports dynamic memory allocation,recovery and reuse.The case study on the communication system with zero copy technology shows that the buffer management mechanism designed meets the requirements of a network communication system.In addition,it is highly efficient,reliable,and real-time compatible with the buffer management mechanism.