From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753283AbYIZRq4 (ORCPT ); Fri, 26 Sep 2008 13:46:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751890AbYIZRqs (ORCPT ); Fri, 26 Sep 2008 13:46:48 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:43383 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbYIZRqr (ORCPT ); Fri, 26 Sep 2008 13:46:47 -0400 Date: Fri, 26 Sep 2008 13:46:45 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Linus Torvalds cc: Arnaldo Carvalho de Melo , Masami Hiramatsu , LKML , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Andrew Morton , prasad@linux.vnet.ibm.com, Mathieu Desnoyers , "Frank Ch. Eigler" , David Wilder , hch@lst.de, Martin Bligh , Christoph Hellwig , Steven Rostedt Subject: Re: [PATCH v5] Unified trace buffer In-Reply-To: Message-ID: References: <20080925185154.230259579@goodmis.org> <20080925185236.244343232@goodmis.org> <48DC406D.1050508@redhat.com> <20080926173130.GE15446@ghostprotocols.net> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) 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 On Fri, 26 Sep 2008, Linus Torvalds wrote: > > > On Fri, 26 Sep 2008, Arnaldo Carvalho de Melo wrote: > > > > Why do you need __packed__ here? With or without it the layout is the >>From just being paranoid. > > same: > > Indeed. And on some architectures 'packed' will actually mean that the > compiler may think that it's unaligned, and then generate much worse code > to access the fields. So if you align things anyway (and you do), then > 'packed' is the wrong thing to do. OK, I'm making v6 now with various cleanups. I'll nuke it on that one. -- Steve