Thread (12 messages) 12 messages, 4 authors, 2013-08-01

Re: [Patch net-next] tcp_metrics: rearrange fields to avoid holes

From: David Miller <davem@davemloft.net>
Date: 2013-07-31 06:26:42

From: Cong Wang <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help