[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181207.154553.2153174795925914538.davem@davemloft.net>
Date: Fri, 07 Dec 2018 15:45:53 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: dsahern@...il.com, dsahern@...nel.org, netdev@...r.kernel.org,
roopa@...ulusnetworks.com
Subject: Re: [PATCH net-next] neighbor: Add protocol attribute
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 7 Dec 2018 15:03:04 -0800
> On 12/07/2018 02:24 PM, David Ahern wrote:
>> On 12/7/18 3:20 PM, Eric Dumazet wrote:
>>
>> /* --- cacheline 3 boundary (192 bytes) --- */
>> struct hh_cache hh; /* 192 48 */
>>
>> ...
>>
>> but does not change the actual allocation size which is rounded to 512.
>>
>
> I have not talked about the allocation size, but alignment of ->ha field,
> which is kind of assuming long alignment, in a strange way.
Right, neigh->ha[] should probably be kept 8-byte aligned.
Powered by blists - more mailing lists