From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933104AbXEDP0A (ORCPT ); Fri, 4 May 2007 11:26:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933114AbXEDP0A (ORCPT ); Fri, 4 May 2007 11:26:00 -0400 Received: from gw.goop.org ([64.81.55.164]:35167 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933104AbXEDPZ7 (ORCPT ); Fri, 4 May 2007 11:25:59 -0400 Message-ID: <463B508A.2030307@goop.org> Date: Fri, 04 May 2007 08:26:02 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: "Eric W. Biederman" CC: Rusty Russell , "H. Peter Anvin" , Andi Kleen , Linux Kernel Mailing List Subject: Re: [PATCH] i386: always clear bss References: <463AED07.1000505@goop.org> <463B49F0.401@goop.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Eric W. Biederman wrote: > Using 0x40 as a stack would be ok. > OK. > There are issues with CONFIG_RELOCATABLE and V!=P that I'm not > comfortable with yet, because we can't tell the difference. But it doesn't matter in this case, does it? It just needs to find the current address, whether it be virtual or physical, of the bss. It doesn't assume any particular offset. When does the relocation happen? Does the bzImage loader do it as part of decompression? Or does the kernel do it to itself? (Not that it makes any difference here.) J