Shared Memory Segment and Simple Memory Segment?

Asked By 30 points N/A Posted on -
qa-featured

Can anyone help me by enlisting the differences between a Shared Memory Segment and Simple Memory Segment and how they are used in Linux and Windows Operating Systems?

SHARE
Answered By 20 points N/A #152468

Shared Memory Segment and Simple Memory Segment?

qa-featured

Hi David, the memory is access by the CPU via the front side bus, the memory address the front side bus is physical memory addresses.

Virtual memory is the total address space reserved by the operating system to the process of its code, data, stack and the virtual memory gathered is used for both memory and swap space. Segments moved to swap space are not included.

A segment is a partition of a process' address space that has its own protection policy. So, splitting each can have protection modes by means of segments. There are two segments, one is for user level, that process data like program code, stacks, heap and its process has its own independent user segment and second which contain the specific data, kernel instruction, some stacks on which kernel can execute.  A segment is directly mapped to physical memory so that kernel can directly address physical memory location without address translation. 

Related Questions