Unit 3
Unit 3
Logical Address Space is set of all Physical Address is set of all physical
Address
logical addresses generated by addresses mapped to the
Space
CPU in reference to a program. corresponding logical addresses.
User can view the logical address of User can never view physical
Visibility
a program. address of program.
Editable Logical address can be change. Physical address will not change.
Single-partition allocation
In this type of allocation, relocation-register scheme is used to protect user processes from each
1 other, and from changing operating-system code and data. Relocation register contains value of
smallest physical address whereas limit register contains range of logical addresses. Each
logical address must be less than the limit register.
Multiple-partition allocation
In this type of allocation, main memory is divided into a number of fixed-sized partitions
2 where each partition should contain only one process. When a partition is free, a process is
selected from the input queue and is loaded into the free partition. When the process
terminates, the partition becomes available for another process.