[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150618.034326.1579688535859905135.davem@davemloft.net>
Date: Thu, 18 Jun 2015 03:43:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: pablo@...filter.org, netfilter-devel@...r.kernel.org,
netdev@...r.kernel.org, fw@...len.de
Subject: Re: [PATCH net-next] x_table: align per cpu xt_counter
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 15 Jun 2015 18:10:13 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Florian Westphal <fw@...len.de>
Pablo, I assume you will take this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists