netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: acme@ghostprotocols.net
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [PATCH 5/5] [IPV6]: Reorg struct ifmcaddr6 to save some bytes
Date: Fri,  1 Feb 2008 20:23:36 -0200	[thread overview]
Message-ID: <47a39bfa.0986460a.4fda.1c03@mx.google.com> (raw)
In-Reply-To: <1201904616-4944-5-git-send-email-y>

From: Arnaldo Carvalho de Melo <acme@redhat.com>

/home/acme/git/net-2.6/net/ipv6/mcast.c:
  struct ifmcaddr6 |   -8
 1 struct changed
  igmp6_group_dropped  |   -6
  add_grec             |   -3
  mld_ifc_timer_expire |  -18
  ip6_mc_add_src       |   -3
  ip6_mc_del_src       |   -3
  igmp6_group_added    |   -3
 6 functions changed, 36 bytes removed, diff: -36

ipv6.ko:
 6 functions changed, 36 bytes removed, diff: -36

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 include/net/if_inet6.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h
index 66c43e2..b2cfc49 100644
--- a/include/net/if_inet6.h
+++ b/include/net/if_inet6.h
@@ -112,13 +112,13 @@ struct ifmcaddr6
 	struct ip6_sf_list	*mca_sources;
 	struct ip6_sf_list	*mca_tomb;
 	unsigned int		mca_sfmode;
+	unsigned char		mca_crcount;
 	unsigned long		mca_sfcount[2];
 	struct timer_list	mca_timer;
 	unsigned		mca_flags;
 	int			mca_users;
 	atomic_t		mca_refcnt;
 	spinlock_t		mca_lock;
-	unsigned char		mca_crcount;
 	unsigned long		mca_cstamp;
 	unsigned long		mca_tstamp;
 };
-- 
1.5.3.8


      parent reply	other threads:[~2008-02-01 22:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1201904616-4944-1-git-send-email-y>
2008-02-01 22:23 ` [PATCH 1/5] [SOCK] proto: Add hashinfo member to struct proto acme
     [not found] ` <1201904616-4944-2-git-send-email-y>
2008-02-01 22:23   ` [PATCH 2/5] [INET6]: Reorganize struct inet6_dev to save 8 bytes acme
     [not found]   ` <1201904616-4944-3-git-send-email-y>
2008-02-01 22:23     ` [PATCH 3/5] [DCCP]: Reorganize struct dccp_sock " acme
     [not found]     ` <1201904616-4944-4-git-send-email-y>
2008-02-01 22:23       ` [PATCH 4/5] [INET_TIMEWAIT_SOCK]: Reorganize struct inet_timewait_sock to save some bytes acme
     [not found]       ` <1201904616-4944-5-git-send-email-y>
2008-02-01 22:23         ` acme [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47a39bfa.0986460a.4fda.1c03@mx.google.com \
    --to=acme@ghostprotocols.net \
    --cc=acme@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).