]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'netdev_diet'
authorDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2015 17:15:14 +0000 (13:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2015 17:15:14 +0000 (13:15 -0400)
commita082a11eb6cb194ffd0f5dccbbe807645717fbd5
tree1913ecc6850e00015fbc5f511bb617d58fd44c3b
parentf2b0b9ca8e36e96ca0285af1f46e164764f3cf78
parent86c6f7cf9b590f021418b8271ca7b3df717618d2
Merge branch 'netdev_diet'

Thomas Graf says:

====================
Bring sizeof(net_device) down to < 2K bytes

The size of struct net_device crossed the 2K boundary a while ago which
is a waste in combination with many net namespaces. This series brings
the size of struct net_device down to well below 2K in total size with
a typical configuration. Some reserves a several holes leave room for
further expansion.

Before:
/* size: 2176, cachelines: 34, members: 121 */

After:
/* size: 1984, cachelines: 31, members: 120 */
====================

Signed-off-by: David S. Miller <davem@davemloft.net>