From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@polymtl.ca (Mathieu Desnoyers) Date: Wed, 18 Aug 2010 16:33:40 -0400 Subject: [ltt-dev] [RFC UST PATCH] Removes useless ___cacheline_aligned In-Reply-To: <1282160408-24122-1-git-send-email-david.goulet@polymtl.ca> References: <1282160408-24122-1-git-send-email-david.goulet@polymtl.ca> Message-ID: <20100818203340.GA21756@Krystal> * David Goulet (david.goulet at polymtl.ca) wrote: > Signed-off-by: David Goulet > --- > libust/buffers.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/libust/buffers.h b/libust/buffers.h > index 63449d6..1ae2208 100644 > --- a/libust/buffers.h > +++ b/libust/buffers.h > @@ -96,7 +96,7 @@ struct ust_buffer { > unsigned int cpu; > > /* commit count per subbuffer; must be at end of struct */ > - long commit_seq[0] ____cacheline_aligned; /* ATOMIC */ > + long commit_seq[0]; /* ATOMIC */ > /* > * This might be useful and there for a reason... but after > * some test and thought, I don't think so. Since commit_seq is 0, > * there is no lost of memory here anyway... Yeah, I really don't know what this is supposed to do. Should be removed. Thanks, Mathieu > */ > } ____cacheline_aligned; > > /* > -- > 1.7.0.4 > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com