Re: [patch V2 1/4] net: dst: Prevent false sharing vs. dst_entry::__refcnt

From: David Ahern
Date: Wed Mar 15 2023 - 18:27:00 EST


On 3/15/23 2:36 PM, Jakub Kicinski wrote:
> On Tue, 7 Mar 2023 13:57:42 +0100 (CET) Thomas Gleixner wrote:
>> Move the rt[6i]_uncached[_list] members out of struct rtable and struct
>> rt6_info into struct dst_entry to provide padding and move the lwtstate
>> member after that so it ends up in the same cache line.
>
> Eric, David, looks reasonable?

Reviewed-by: David Ahern <dsahern@xxxxxxxxxx>