[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130730.232639.178259761581407616.davem@davemloft.net>
Date: Tue, 30 Jul 2013 23:26:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: amwang@...hat.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org,
edumazet@...gle.com, ycheng@...gle.com, ncardwell@...gle.com
Subject: Re: [Patch net-next] tcp_metrics: rearrange fields to avoid holes
From: Cong Wang <amwang@...hat.com>
Date: Wed, 31 Jul 2013 11:13:22 +0800
> I know saving 8 bytes is not interesting for you, but it is for me,
> since I need some room in struct tcp_metrics_block for union inet_addr.
> With this patch, I don't have to make struct tcp_metrics_block expand to
> 3 cachelines. :)
Cong, please.
Instead of making code accomodate an unnecessarily large "union
inet_addr", make a small version of it that accomodates this use case
and doesn't have the extra fields.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists