From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yafang Shao Subject: Re: [PATCH net-next] Revert "net: init sk_cookie for inet socket" Date: Tue, 24 Apr 2018 23:12:50 +0800 Message-ID: References: <1524571537-9781-1-git-send-email-laoar.shao@gmail.com> <29dbd735-5fd7-d4e4-288f-220f2075b645@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: David Miller , netdev@vger.kernel.org To: Eric Dumazet Return-path: Received: from mail-it0-f65.google.com ([209.85.214.65]:55943 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751151AbeDXPNb (ORCPT ); Tue, 24 Apr 2018 11:13:31 -0400 Received: by mail-it0-f65.google.com with SMTP id 144-v6so1282234iti.5 for ; Tue, 24 Apr 2018 08:13:31 -0700 (PDT) In-Reply-To: <29dbd735-5fd7-d4e4-288f-220f2075b645@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Apr 24, 2018 at 8:38 PM, Eric Dumazet wrote: > > > On 04/24/2018 05:05 AM, Yafang Shao wrote: >> This revert commit ("net: init sk_cookie for inet socket") >> >> Per discussion with Eric. >> > > I suggest you include a bit more details, about cache line false sharing. > Coud we adjust the struct common to avoid such kind of cache line false sharing ? I mean removing "atomic64_t skc_cookie;" from struct sock_common and place it in struct inet_sock ? Thanks Yafang