Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932466AbWBXUj1 (ORCPT ); Fri, 24 Feb 2006 15:39:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751089AbWBXUj1 (ORCPT ); Fri, 24 Feb 2006 15:39:27 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:36776 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S1751086AbWBXUj1 (ORCPT ); Fri, 24 Feb 2006 15:39:27 -0500 To: Andi Kleen Cc: Rene Herman , Linus Torvalds , Arjan van de Ven , linux-kernel@vger.kernel.org, akpm@osdl.org, mingo@elte.hu Subject: Re: Patch to reorder functions in the vmlinux to a defined order References: <1140700758.4672.51.camel@laptopd505.fenrus.org> <43FF26A8.9070600@keyaccess.nl> <200602241748.39949.ak@suse.de> From: ebiederm@xmission.com (Eric W. Biederman) Date: Fri, 24 Feb 2006 13:38:02 -0700 In-Reply-To: <200602241748.39949.ak@suse.de> (Andi Kleen's message of "Fri, 24 Feb 2006 17:48:38 +0100") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 26 Andi Kleen writes: > On Friday 24 February 2006 16:55, Eric W. Biederman wrote: >> there, and... more invasiveness? >> >> __pa stops working on kernel addresses. > > x86-64 always had this problem and it's not very hard to handle with a simple ?: It has been several months but yes most of the pieces are simple. Although you do loose the opportunities for several micro-optimizations, that way. The point was simply that working with relocations is even less intrusive. The changes stop at kernel/head.S if they even get that far. Plus the proof that you have not pessimized things is trivial, because nothing has changed. The fact that your kernel virtual addresses can be at different 2MB/4MB aligned boundaries is a downside, as is the fact that your bzImage becomes 5-10% larger because of all of the relocations. Eric - 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/