Memory segmentation: Difference between revisions

Content deleted Content added
See also: - wl to specific segmentation articles
segfault link more appropriate than GPF here
Line 1:
'''Segmentation''' is one of the most common ways to achieve [[memory protection]]; another common one is [[paging]]. Segmentation means that a part or parts of the memory will be sealed off from the currently running [[process]], through the use of [[hardware register]]s. If the data that is about to be read or written to is outside the permitted [[address space]] of that process, a [[segmentation fault]] will result.
 
Segmentation means that a part, or parts, of the memory is/are sealed off from the [[process]] currently running by two hardware [[hardware register|registers]]. If the data that is about to be read, or written to, is outside the permitted address space of that process, a [[general protection fault]] will fire. This should not be confused with the [[x86]]-[[processor]]s [[realmode]] segmentation.
This usage should not be confused with that of the [[memory segment]]s used by early [[x86]] processor architectures.
 
== See also ==
Line 7 ⟶ 8:
* [[Text segment]]
* [[Data segment]]
* [[Segmentation fault]]
 
{{compu-stub}}