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

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

From: Cong Wang <hidden>
Date: 2013-07-31 03:37:18

On Tue, 2013-07-30 at 20:24 -0700, Eric Dumazet wrote:
On Wed, 2013-07-31 at 11:13 +0800, Cong Wang wrote:
quoted
On Tue, 2013-07-30 at 20:08 -0700, Eric Dumazet wrote:
quoted
Oh well, this patch is pure noise...
Mind to be specific?

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. :)
Do you see how this explanation is rather different than the one you
gave in the changelog ?

Its 3 lines, instead of all this pahole noise.
So, you mean this patch only makes sense after my union inet_addr? If
so, I will merge it into my inet_addr patch.
And it would be more logical to put the "unsigned long last_syn_loss" at
the beginning of the structure, instead after an array of 17 bytes.
Agreed.

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help