From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: [PATCH net-next] x_table: align per cpu xt_counter Date: Thu, 18 Jun 2015 21:04:34 +0200 Message-ID: <20150618190434.GA3454@salvia> References: <1434417013.27504.161.camel@edumazet-glaptop2.roam.corp.google.com> <20150617170815.GF31987@breakpoint.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Eric Dumazet , David Miller , netfilter-devel@vger.kernel.org, netdev To: Florian Westphal Return-path: Received: from mail.us.es ([193.147.175.20]:52573 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755062AbbFRS7M (ORCPT ); Thu, 18 Jun 2015 14:59:12 -0400 Content-Disposition: inline In-Reply-To: <20150617170815.GF31987@breakpoint.cc> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Wed, Jun 17, 2015 at 07:08:15PM +0200, Florian Westphal wrote: > Eric Dumazet wrote: > > From: Eric Dumazet > > > > Let's force a 16 bytes alignment on xt_counter percpu allocations, > > so that bytes and packets sit in same cache line. > > > > xt_counter being exported to user space, we cannot add __align(16) on > > the structure itself. > > Sorry, I was away. Looks great. > > Acked-by: Florian Westphal Applied, thanks Eric and Florian !