16.8k views
0 votes
When the entries in the segment tables of two different processes point to the same physical location :

a) The segments are invalid
b) The processes get blocked
c) Segments are shared
d) All of these

User ZaquPL
by
7.8k points

2 Answers

4 votes

Final answer:

The entries in segment tables pointing to the same physical location usually indicate that the segments are shared, as in the case of shared libraries or inter-process communication.

Step-by-step explanation:

When the entries in the segment tables of two different processes point to the same physical location, this typically indicates that the segments are shared.

This is a common technique used in operating systems to allow multiple processes to access the same data or code in memory without having to duplicate the information, thereby saving memory resources. Such sharing is particularly useful for things like shared libraries or inter-process communication facilities.

User Barry Franklin
by
8.6k points
4 votes

Final answer:

When the entries in the segment tables of two different processes point to the same physical location, the segments are shared (Option C).

Step-by-step explanation:

When segment tables of different processes point to the same physical location, it means the segments are shared, which is common for efficient memory utilization. This is common in an operating system's memory management to allow processes to access the same data or code in memory.

For example, when multiple processes execute the same program, the code segment for that program can be shared among them, saving memory and allowing for more efficient utilization of system resources. However, data segments might also be shared intentionally, allowing processes to communicate and collaborate on tasks.

Thus, the correct option is C.

User Celia
by
8.4k points