From: Zachary Amsden Subject: Re: [RFC, PATCH 7/24] i386 Vmi memory hole Date: Tue, 14 Mar 2006 14:35:59 -0800 Message-ID: <4417454F.2080908@vmware.com> References: <200603131804.k2DI4N6s005678@zach-dev.vmware.com> <20060314064107.GK12807@sorel.sous-sol.org> <44166D6B.4090701@vmware.com> <20060314215616.GM12807@sorel.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060314215616.GM12807@sorel.sous-sol.org> Sender: linux-kernel-owner@vger.kernel.org To: Chris Wright Cc: 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 , Gerd Hoffmann List-Id: xen-devel@lists.xenproject.org Chris Wright wrote: > * Zachary Amsden (zach@vmware.com) wrote: > >> Allow creation of an compile time hole at the top of linear address space. >> >> Extended to allow a dynamic hole in linear address space, 7/2005. This >> required some serious hacking to get everything perfect, but the end result >> appears to function quite nicely. Everyone can now share the appreciation >> of pseudo-undocumented ELF OS fields, which means core dumps, debuggers >> and even broken or obsolete linkers may continue to work. >> > > Thanks. Gerd did something similar (although I believe it's simpler, > don't recall the relocation magic) for Xen. Either way, it's useful > from Xen perspective. > I believe Xen disables sysenter. The complications in my patch come from the fact that the vsyscall page has to be relocated dynamically, requiring, basically run time linking on the page and some tweaks to get sysenter to work. If you don't use vsyscall (say, non-TLS glibc), then you don't need that complexity. But I think it might be needed now, even for Xen. Zach