Chapter 35 Flashcards
What are share pages
Reentrant (read-only) code pages of a process address space can be shared between processes.
What is editor buffer called
Data page
What is segmentation
A memory management scheme that supports programmer’s view of memory
What is segment
A segment is a logical unit such as procedure, function, method, object, global variable, stack, symbol table. A program is a collection of segment.
What is segment table
Maps two dimensional logical addresses to physical addresses.
What are 2 tuples of logical address
- segment number
2. offset
What is STBR
Segment-table base register points to the segment table’s location in memory
What is STLR
Segment-table length register indicates number of segments used by a program
Does sharing can be implemented on code and data level as well. True / False
True
What is dynamic storage allocation
Storage for segments has to be allocated dynamically.
What are the algorithms for segments allocation in memory
- First-fit
- Best-fit
- Worst-fit
Which algorithm for segment allocation gives best performance
First-fit and best-fit
Does sharing implements in segmentation the same way as in paging
Yes