[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130425.012957.1907154593971601142.davem@davemloft.net>
Date: Thu, 25 Apr 2013 01:29:57 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] packet: reorder a member in
packet_ring_buffer
From: Daniel Borkmann <dborkman@...hat.com>
Date: Fri, 19 Apr 2013 18:12:28 +0200
> There's a 4 byte hole in packet_ring_buffer structure before
> prb_bdqc, that can be filled with 'pending' member, thus we can
> reduce the overall structure size from 224 bytes to 216 bytes.
> This also has the side-effect, that in struct packet_sock 2*4 byte
> holes after the embedded packet_ring_buffer members are removed,
> and overall, packet_sock can be reduced by 1 cacheline:
>
> Before: size: 1344, cachelines: 21, members: 24
> After: size: 1280, cachelines: 20, members: 24
>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied.
--
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