Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759830AbZCPON0 (ORCPT ); Mon, 16 Mar 2009 10:13:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756531AbZCPONO (ORCPT ); Mon, 16 Mar 2009 10:13:14 -0400 Received: from mx2.redhat.com ([66.187.237.31]:34158 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756447AbZCPONM (ORCPT ); Mon, 16 Mar 2009 10:13:12 -0400 Message-ID: <49BE5E4E.1070209@redhat.com> Date: Mon, 16 Mar 2009 16:12:30 +0200 From: Avi Kivity User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Jeremy Fitzhardinge CC: Sergio Luis , Ingo Molnar , "Rafael J. Wysocki" , Pavel Machek , Linux-kernel Mailing List Subject: Re: x86: asm doubt References: <49BD2FC7.5050903@goop.org> In-Reply-To: <49BD2FC7.5050903@goop.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 735 Lines: 19 Jeremy Fitzhardinge wrote: > In 32-bit mode, moving to a segment register can fault if the > underlying GDT/LDT entry is invalid. In 64-bit mode, segment > registers are mostly decorative and have no function, and moving > arbitrary values into them doesn't fault, making the exception > catching unnecessary. 64-bit mode will in fact fault if an access is made outside the GDT/LDT, or of the descriptor is invalid. -- error compiling committee.c: too many arguments to function -- 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/