Memory Management Solution in Embedded Linux Systems
Dynamic storage allocation(DSA) algorithms are implemented in different environments and services,where measurements and performances are differ from each other.In this paper,we proposed a memory management solution for Set-Top Box(STB) with multi-modes and multi-services in order to achieve a high performance.We analyzed the principles and methods of memory sharing technology,and carried out multi-services with this technology.Meanwhile,we developed a new DSA using two levels of index,which took O(1) time of running.Comparing with other well-known DSAs,this DSA had acceptable timing behavior and produced low fragmentations.We got satisfactory results both in the experiment and in real embedded systems.