Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422776AbWHXXJQ (ORCPT ); Thu, 24 Aug 2006 19:09:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422777AbWHXXJQ (ORCPT ); Thu, 24 Aug 2006 19:09:16 -0400 Received: from mailout1.vmware.com ([65.113.40.130]:30371 "EHLO mailout1.vmware.com") by vger.kernel.org with ESMTP id S1422776AbWHXXJP (ORCPT ); Thu, 24 Aug 2006 19:09:15 -0400 Message-ID: <44EE319A.3000803@vmware.com> Date: Thu, 24 Aug 2006 16:09:14 -0700 From: Zachary Amsden User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Jeremy Fitzhardinge Cc: Andrew Morton , Linux Kernel Mailing List , Andi Kleen Subject: Re: [PATCH] Remove default_ldt, and simplify ldt-setting. References: <44EE308B.8000304@goop.org> In-Reply-To: <44EE308B.8000304@goop.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1063 Lines: 29 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. If there are no LDT entries, the LDT register is loaded > with a NULL descriptor. > > Signed-off-by: Jeremy Fitzhardinge > Cc: Andi Kleen > Cc: Zachary Amsden Acked-by: Zachary Amsden This looks good. Zach - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/