From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ABEF9C3A5A3 for ; Tue, 27 Aug 2019 07:08:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7CD2220828 for ; Tue, 27 Aug 2019 07:08:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="s8jbhp9G" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728676AbfH0HIS (ORCPT ); Tue, 27 Aug 2019 03:08:18 -0400 Received: from mail-pf1-f201.google.com ([209.85.210.201]:50679 "EHLO mail-pf1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbfH0HIR (ORCPT ); Tue, 27 Aug 2019 03:08:17 -0400 Received: by mail-pf1-f201.google.com with SMTP id b21so14026482pfb.17 for ; Tue, 27 Aug 2019 00:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=ZDL6qMUlP3bP/+guwloCvQFaqxEcnmptAKY8PZbvYMg=; b=s8jbhp9GQmrF911vHYozD95BwG/hVa3UG/OWTTQyS2+y61vXp4481Y8siAqvTkanFg ced1W1zXgByzf/xBe2jy2AOMM6R+ITdLr/eeqTFtTbqIE13tkSsYzfn5zt9TTPqn2sHC +6yRkf0SQZuEG4UeYF0fEcri3oA8vV9S2azA019GAK/cqm7FHCCFN4tphyby6cORKG8p 3m0aax3sdwucJtMsNLS1siYa4J8v5/MH3Bsb5Z2FuFUmer8Ee9CnxGtPZrgSdu/b7lGo CIvq/7Aj4H+Vd6eRnvkM5EqDY2c/hoFbD6brDnI/Cx4lDpGoXDCxZWIs1LALfXAFZ5fn 0Axg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=ZDL6qMUlP3bP/+guwloCvQFaqxEcnmptAKY8PZbvYMg=; b=HVymWsaykpTKIbhDcBFaoINuP/FL5X+0UEeMIPG8v2BQ21bLWkj9iNjs/1Pl3r/7QS tDpqDtfuqAkFLnmesEmtLv29raL8fp3pbDYcNne9FXg1wXoRLz8jXdSSUKQV2ls6Xxye aJ4two7dU9nL/dORBnYFx2isZaO/RrRghdjLhDJyFJhPFlWyKbE4q7eFISqswaI+T6UO m37kNPvt6MojMHwbgABk4BROJO5C1xJzCoe7VNjtnB6LIyN52N8v6Ux5t9zvYdHlUU6P BZsrROZP/nFwhb2W8GWK14go2ZKvGW2bL97F4lHn+Kil6tsHU+t3rZKQIQdJ3MvCrn4H 12hA== X-Gm-Message-State: APjAAAVK50Fbq98Kc3+6FRYsMxfx5/JtlywAeKHKE/qpLLIMfr7gzJDu pBcFERsrpQdqYwCHw/9G6xh7lxr9Yleutw== X-Google-Smtp-Source: APXvYqyZAr8DxUOVoUHFk4OFePQyp3LseBFVnkakrmkOgT0PYY3Hoko0OkBnnnKLl8xpBApb12/uh70xhjYSMw== X-Received: by 2002:a63:755e:: with SMTP id f30mr20102809pgn.246.1566889696157; Tue, 27 Aug 2019 00:08:16 -0700 (PDT) Date: Tue, 27 Aug 2019 00:08:12 -0700 Message-Id: <20190827070812.150106-1-edumazet@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.23.0.187.g17f5b7556c-goog Subject: [PATCH net-next] ipv6: shrink struct ipv6_mc_socklist From: Eric Dumazet To: "David S . Miller" Cc: netdev , Eric Dumazet , Eric Dumazet Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Remove two holes on 64bit arches, to bring the size to one cache line exactly. Signed-off-by: Eric Dumazet --- include/net/if_inet6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index 50037913c9b191cb3793e3f072104c10c4257ff2..a01981d7108f96075b6939f4a78f14e7afe93a4e 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h @@ -89,9 +89,9 @@ struct ip6_sf_socklist { struct ipv6_mc_socklist { struct in6_addr addr; int ifindex; + unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */ struct ipv6_mc_socklist __rcu *next; rwlock_t sflock; - unsigned int sfmode; /* MCAST_{INCLUDE,EXCLUDE} */ struct ip6_sf_socklist *sflist; struct rcu_head rcu; }; -- 2.23.0.187.g17f5b7556c-goog