Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754839AbZDZQ55 (ORCPT ); Sun, 26 Apr 2009 12:57:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753042AbZDZQ5r (ORCPT ); Sun, 26 Apr 2009 12:57:47 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:35878 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751650AbZDZQ5q (ORCPT ); Sun, 26 Apr 2009 12:57:46 -0400 Date: Sun, 26 Apr 2009 09:40:57 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Tim Abbott cc: Sam Ravnborg , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters , Masami Hiramatsu , "Theodore Ts'o" , Nikanth Karthikesan , Arjan van de Ven , Paul Mundt , =?ISO-8859-15?Q?Am=E9rico_Wang?= , Ralf Baechle , Kyle McMartin , David Howells , Thomas Gleixner , Ingo Molnar Subject: Re: [PATCH 14/15] x86: convert to use __HEAD and HEAD_TEXT macros. In-Reply-To: <1240711870-30505-14-git-send-email-tabbott@mit.edu> Message-ID: References: <1240711870-30505-1-git-send-email-tabbott@mit.edu> <1240711870-30505-2-git-send-email-tabbott@mit.edu> <1240711870-30505-3-git-send-email-tabbott@mit.edu> <1240711870-30505-4-git-send-email-tabbott@mit.edu> <1240711870-30505-5-git-send-email-tabbott@mit.edu> <1240711870-30505-6-git-send-email-tabbott@mit.edu> <1240711870-30505-7-git-send-email-tabbott@mit.edu> <1240711870-30505-8-git-send-email-tabbott@mit.edu> <1240711870-30505-9-git-send-email-tabbott@mit.edu> <1240711870-30505-10-git-send-email-tabbott@mit.edu> <1240711870-30505-11-git-send-email-tabbott@mit.edu> <1240711870-30505-12-git-send-email-tabbott@mit.edu> <1240711870-30505-13-git-send-email-tabbott@mit.edu> <1240711870-30505-14-git-send-email-tabbott@mit.edu> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1320 Lines: 36 On Sat, 25 Apr 2009, Tim Abbott wrote: > > This has the consequence of changing the section name use for head > code from ".text.head" to ".head.text". Since this commit changes all > users in the architecture, this change should be harmless. Btw, this one really needs to unify the two lds files first. Look at diff -u arch/x86/boot/compressed/vmlinux_*.lds output and realize that they're basially exctly the same except for trivial naming differences, and the fact that the64-bit version hs a "pgtable" thing. So this really needs to be done by first unifying the thing so that there is _one_ arch/x86/boot/compressed/vmlinux.lds.S file with a preprocessor that takes care of the trivial differences, and then after that, the ".text.init" games should just be removed. Notice the _removed_. I don't think the compressed stuff has any actual "init" code. It is just a blob loader that loads the compressed kernel. There should be no need for the init sections being special, so the vmlinux.lds.S file should just have a ".text*" section. Hmm? Linus -- 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/