From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] mempool/octeontx: fix natural alignment being optimized out Date: Fri, 19 Jan 2018 00:33:52 +0100 Message-ID: <6266532.ys4xuxWahu@xps> References: <20180118134433.20997-1-pbhagavatula@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, santosh , jerin.jacob@caviumnetworks.com, dev@dpdk.org To: Pavan Nikhilesh Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/01/2018 17:54, santosh: > On Thursday 18 January 2018 07:14 PM, Pavan Nikhilesh wrote: > > The mbox messages are naturally aligned and in some cases compiler > > optimization might disregard natural alignment. > > Use volatile key word to force compiler to disable optimizing and > > maintain alignment. > > > > Fixes: aecb8e093b52 ("event/octeontx: introduce specialized mbox message copy") > > Cc: stable@dpdk.org > > > > Signed-off-by: Pavan Nikhilesh > > Acked-by: Santosh Shukla Applied, thanks