Introduction to Operating System-Memory Management

Memory management goals: memory allocation, memory recycling, and improving memory space utilization.
Memory systems have different capacities and cost access time hierarchical structure

The principle of locality: manifested as time and space

Program linking and loading

Static link: modify the logical address and change the external call symbols.
Dynamic link: postpone the linking of certain target modules until the functions in these modules are called and executed.

Program loading: compile, link and load

Absolute loading: The physical address of the module loads the program and data into the memory.
Relocatable loading mode: logical address is converted to physical address.
Dynamic runtime loading

Continuous distribution storage management method

Single continuous allocation: single user and single process
Fixed partition allocation: divided into several fixed size areas
Dynamic partition allocation: free partition table free partition chain dynamic partition allocation algorithm

Guess you like

Origin blog.csdn.net/wangwei021933/article/details/106460620