public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Zachary Amsden <zach@vmware.com>
Subject: Re: [PATCH] Remove default_ldt, and simplify ldt-setting.
Date: Fri, 25 Aug 2006 01:15:36 +0200	[thread overview]
Message-ID: <200608250115.36879.ak@suse.de> (raw)
In-Reply-To: <44EE308B.8000304@goop.org>

On Friday 25 August 2006 01:04, Jeremy Fitzhardinge wrote:
> (This is the replacement for kill-default_ldt.patch.)
> 
> Remove default_ldt, and simplify ldt-setting.
> 
> This patch removes the default_ldt[] array, as it has been unused
> since iBCS stopped being supported.  This means it is now possible to
> actually set an empty LDT segment.
> 
> In order to deal with this, the set_ldt_desc/load_LDT pair has been
> replaced with a single set_ldt() operation which is responsible for
> both setting up the LDT descriptor in the GDT, and reloading the LDT
> register. 

Looks good.

> If there are no LDT entries, the LDT register is loaded
> with a NULL descriptor.

x86-64 currently doesn't do this -- do you see an particular advantage 
in it?

-Andi

  parent reply	other threads:[~2006-08-24 23:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24 23:04 [PATCH] Remove default_ldt, and simplify ldt-setting Jeremy Fitzhardinge
2006-08-24 23:09 ` Zachary Amsden
2006-08-24 23:15 ` Andi Kleen [this message]
2006-08-24 23:24   ` Zachary Amsden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608250115.36879.ak@suse.de \
    --to=ak@suse.de \
    --cc=akpm@osdl.org \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zach@vmware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox