From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940796AbXHIOvI (ORCPT ); Thu, 9 Aug 2007 10:51:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S937485AbXHIOux (ORCPT ); Thu, 9 Aug 2007 10:50:53 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:49339 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936719AbXHIOuw (ORCPT ); Thu, 9 Aug 2007 10:50:52 -0400 Subject: Re: [PATCH] ld.so on FC7 is mmap'ing shared libraries right in over guest memory. From: Arjan van de Ven To: Rusty Russell Cc: Linus Torvalds , Andrew Morton , ron minnich , lguest , lkml - Kernel Mailing List In-Reply-To: <1186657645.17752.60.camel@localhost.localdomain> References: <1186657645.17752.60.camel@localhost.localdomain> Content-Type: text/plain Organization: Intel International BV Date: Thu, 09 Aug 2007 07:48:36 -0700 Message-Id: <1186670916.4521.1.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-2.fc7) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2007-08-09 at 21:07 +1000, Rusty Russell wrote: > From: Ronald G. Minnich > > [ FC7 maps shared libraries very low, where the launcher maps guest's > physical memory. Quick fix is to link Launcher static, real fix is for > 2.6.24. ] > > -static is a simple fix. I expect this problem will be more common than we > like, as different distro's make different "improvements" to ld.so this description is incorrect; it's not an ld.so change that causes the low mapping. It's a command line option to the prelink program (which is in most distributions) that makes it use the entire address space, not just the higher bits....