Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932176AbWCOJhH (ORCPT ); Wed, 15 Mar 2006 04:37:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751190AbWCOJhH (ORCPT ); Wed, 15 Mar 2006 04:37:07 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:52609 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S1751148AbWCOJhG (ORCPT ); Wed, 15 Mar 2006 04:37:06 -0500 Date: Wed, 15 Mar 2006 01:41:49 -0800 From: Chris Wright To: Zachary Amsden Cc: Chris Wright , Gerd Hoffmann , Linus Torvalds , Linux Kernel Mailing List , Virtualization Mailing List , Xen-devel , Andrew Morton , Dan Hecht , Dan Arai , Anne Holler , Pratap Subrahmanyam , Christopher Li , Joshua LeVasseur , Rik Van Riel , Jyothy Reddy , Jack Lo , Kip Macy , Jan Beulich , Ky Srinivasan , Wim Coekaerts , Leendert van Doorn Subject: Re: [RFC, PATCH 7/24] i386 Vmi memory hole Message-ID: <20060315094149.GT12807@sorel.sous-sol.org> References: <200603131804.k2DI4N6s005678@zach-dev.vmware.com> <20060314064107.GK12807@sorel.sous-sol.org> <44166D6B.4090701@vmware.com> <20060314215616.GM12807@sorel.sous-sol.org> <4417454F.2080908@vmware.com> <20060315043108.GP12807@sorel.sous-sol.org> <4417CFDA.1060806@suse.de> <4417D212.20401@vmware.com> <20060315090935.GS12807@sorel.sous-sol.org> <4417DBE8.6070302@vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4417DBE8.6070302@vmware.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 20 * Zachary Amsden (zach@vmware.com) wrote: > >+ DEFINE(VSYSCALL_BASE, (PAGE_OFFSET - 2*PAGE_SIZE)); > > Ok, I'm confused. What fixed math? Sorry, bad choice of words. From above, the VYSYCALL_BASE is known at compile time (in asm-offsets.h). So the SYSENTER_RETURN is still fixed addr. For execshield it's truly dynamic, so you get something like this instead of the constant SYSENTER_RETURN: - pushl $SYSENTER_RETURN + pushl (TI_sysenter_return-THREAD_SIZE+8+4*4)(%esp) thanks, -chris - 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/