Why need the Global Descriptor Table in the kernel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: kernelnewbies@xxxxxxxxxxxx
- Subject: Why need the Global Descriptor Table in the kernel?
- From: Xiangfei Jia <xjianz@xxxxxxxxx>
- Date: Wed, 8 Jun 2005 15:18:55 +1200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=Asgxm8MUctdRT2ZQ5VoekUlubYNfYFFJv6yDyHN3JktsfVBhLU5VUB5KzaEA8dmN1jvFv2i7NESJOcoWX2m5mUZvToOpPol2s5o7pBjbCtfllUQ5x8tb/z0Lj9PlbyT9exEcHHHlTTRvVr63wl8wFwJFwfS742ER2t0vBXfVP3E=
- Reply-to: Xiangfei Jia <xjianz@xxxxxxxxx>
- Sender: kernelnewbies-bounce@xxxxxxxxxxxx
On 8086 microprocessors, there are three types of addresses: Logical address, Linear address (or Virtual address), and
Physical address.
Logical addresse contains of a segment (segment identifier) and a
offset. Each segment is represented by a segment descriptor. All these
descriptors are stored either in GDT or LDT. The Linux kernel only has
limited support of semgnets. I also looked at the GDT inside. It seems
that all the segments in the table has the access of the full range of
the memory. BUT, the segments are only useful to allow different
section of memory in a single process.
My question is (1) does the kernel still use logical address and has to
convert from logcial to linear addresses? (2) why the kernel still use
the GDT, which is not very useful in the kernel?
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]