Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758575Ab1EZVvQ (ORCPT ); Thu, 26 May 2011 17:51:16 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:35299 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758241Ab1EZVvP (ORCPT ); Thu, 26 May 2011 17:51:15 -0400 Date: Thu, 26 May 2011 22:51:01 +0100 From: Russell King - ARM Linux To: Nicolas Pitre Cc: Will Deacon , =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= , Catalin Marinas , lkml , ak@linux.intel.com, Andrew Morton , sam@ravnborg.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: Do not allow unaligned accesses when CONFIG_ALIGNMENT_TRAP Message-ID: <20110526215101.GL24876@n2100.arm.linux.org.uk> References: <1306229953.19557.14.camel@e102109-lin.cambridge.arm.com> <20110524171331.GA2941@arm.com> <20110525111405.GA12010@e102109-lin.cambridge.arm.com> <20110525124348.GA2340@arm.com> <1306429854.26735.9.camel@e102144-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 15 On Thu, May 26, 2011 at 05:03:39PM -0400, Nicolas Pitre wrote: > It is possible that -fconserve-stack is still valuable on ARM given that > it is also used with -mno-unaligned-access for other things than > structure packing on the stack, and therefore its merits can be debated > independently from the alignment issue at hand. Catalin said in his mail "I haven't tried with -mno-unaligned-access, I suspect the variables on the stack would be aligned.". So I don't think we know enough to say whether -mno-unaligned-access avoids the stack packing. -- 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/