Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261169AbTINOOB (ORCPT ); Sun, 14 Sep 2003 10:14:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261171AbTINOOB (ORCPT ); Sun, 14 Sep 2003 10:14:01 -0400 Received: from zero.aec.at ([193.170.194.10]:6409 "EHLO zero.aec.at") by vger.kernel.org with ESMTP id S261169AbTINOOA (ORCPT ); Sun, 14 Sep 2003 10:14:00 -0400 Date: Sun, 14 Sep 2003 16:13:46 +0200 From: Andi Kleen To: Jamie Lokier Cc: Andi Kleen , linux-kernel@vger.kernel.org, jh@suse.cz Subject: Re: stack alignment in the kernel was Re: nasm over gas? Message-ID: <20030914141346.GA1194@averell> References: <20030914135431.GB16525@mail.jlokier.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030914135431.GB16525@mail.jlokier.co.uk> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 761 Lines: 19 On Sun, Sep 14, 2003 at 02:54:31PM +0100, Jamie Lokier wrote: > > A compiler option to turn it off would make sense to save .text space > > and eliminate these useless instructions. Especially since the kernel > > entry points make no attempt to align the stack to 16 byte anyways, > > so most likely the stack adjustments do not even work. > > There is an option: > > -mpreferred-stack-boundary=2 Hmm. The i386 Makefile sets that already. Where exactly did you see bogus stack adjustments in kernel code? -Andi - 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/