Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752439Ab1CJSyD (ORCPT ); Thu, 10 Mar 2011 13:54:03 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:43112 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751329Ab1CJSyB (ORCPT ); Thu, 10 Mar 2011 13:54:01 -0500 X-Authority-Analysis: v=1.1 cv=UQuFHoD2CPQ248x8AXEbKhr4z9AaDqApxmEl3BhfZ64= c=1 sm=0 a=UwRGqXM3h7MA:10 a=Q9fys5e9bTEA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=UkJ7447bRwkOcjXbKTEA:9 a=-5VhZygKKRrnMWw4PEsA:7 a=qiuhx8XI7omlxhgF8SSOuHWXXe4A:4 a=PUjeQqilurYA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Subject: Re: [PATCH 0/2] jump label: update for .39 From: Steven Rostedt To: David Daney Cc: Jason Baron , Mathieu Desnoyers , peterz@infradead.org, hpa@zytor.com, mingo@elte.hu, tglx@linutronix.de, andi@firstfloor.org, roland@redhat.com, rth@redhat.com, masami.hiramatsu.pt@hitachi.com, fweisbec@gmail.com, avi@redhat.com, davem@davemloft.net, sam@ravnborg.org, michael@ellerman.id.au, linux-kernel@vger.kernel.org, Ralf Baechle In-Reply-To: <4D791CAA.7090108@caviumnetworks.com> References: <1299728191.15854.319.camel@gandalf.stny.rr.com> <1299771504.15854.347.camel@gandalf.stny.rr.com> <4D790A13.4060705@caviumnetworks.com> <1299780241.15854.393.camel@gandalf.stny.rr.com> <20110310182000.GB2906@redhat.com> <1299782143.15854.402.camel@gandalf.stny.rr.com> <4D791CAA.7090108@caviumnetworks.com> Content-Type: text/plain; charset="ISO-8859-15" Date: Thu, 10 Mar 2011 13:53:56 -0500 Message-ID: <1299783236.15854.405.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1012 Lines: 23 On Thu, 2011-03-10 at 10:47 -0800, David Daney wrote: > The alignment requested by the assembler will have to satisfy *all* the > requested alignments, so manually forcing everything to .align 8 (or > .align 4 for 32-bit) should ensure that the linker doesn't put in any holes. I would agree with the assessment although, I don't know that it is documented anywhere that this is what happens. As the previous "bug" with the trace_events was solved by me adding .align(4) everywhere, I would think that .align(sizeof(long)) would work here too. It may be a good ideal to force this alignment, and not add wasted space. If anything, if this (hypothetical) bug appears, it will most likely show up as a crash on boot up. I'm not too concerned about it. -- Steve -- 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/