G
Guest
Guest
Archived from groups: comp.arch,comp.sys.ibm.pc.hardware.chips,comp.sys.intel (More info?)
In comp.sys.ibm.pc.hardware.chips Yousuf Khan <bbbl67@ezrs.com> wrote:
> Jerry Peters <jerry@example.invalid> wrote:
> >> Each could be upto 32-bits long, meaning 4GB's per segment. How big
> >> did you want them to be?
> >
> > Not unless the code segment overlaps the data segment. Segmented
> > addresses are translated to linear addresses, and if paging is on, the
> > linear address is translated by the mmu to a physical address. The
> > virtual address space is still only 4GB. Segments only subdivide the
> > 4GB address space.
>
>
> True, but we're not talking about a pure segments-only arrangement. We're
> talking about a segmented/paged arrangement. Each segment could could have
> its own separate page entries in the page directory. Meaning that with
> demand-paging only the sections of a segment required to be in memory could
> be in memory while the rest remains marked virtual on disk.
>
> Yousuf Khan
>
No, that still doesn't get you an address space > 4GB.
"Each segment could could have its own separate page entries in the
page directory." What the heck does this mean? A segment doesn't "have"
any entries in the page directory, the linear address which results
from segmentation gets translated to a physical address using the
page directory & page table entries. A linear address is 32 bits,
that's 4GB of address space.
Jerry
In comp.sys.ibm.pc.hardware.chips Yousuf Khan <bbbl67@ezrs.com> wrote:
> Jerry Peters <jerry@example.invalid> wrote:
> >> Each could be upto 32-bits long, meaning 4GB's per segment. How big
> >> did you want them to be?
> >
> > Not unless the code segment overlaps the data segment. Segmented
> > addresses are translated to linear addresses, and if paging is on, the
> > linear address is translated by the mmu to a physical address. The
> > virtual address space is still only 4GB. Segments only subdivide the
> > 4GB address space.
>
>
> True, but we're not talking about a pure segments-only arrangement. We're
> talking about a segmented/paged arrangement. Each segment could could have
> its own separate page entries in the page directory. Meaning that with
> demand-paging only the sections of a segment required to be in memory could
> be in memory while the rest remains marked virtual on disk.
>
> Yousuf Khan
>
No, that still doesn't get you an address space > 4GB.
"Each segment could could have its own separate page entries in the
page directory." What the heck does this mean? A segment doesn't "have"
any entries in the page directory, the linear address which results
from segmentation gets translated to a physical address using the
page directory & page table entries. A linear address is 32 bits,
that's 4GB of address space.
Jerry