]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Reduce size of sk_buff by 4 bytes
authorThomas Graf <tgraf@suug.ch>
Tue, 5 Jul 2005 21:13:41 +0000 (14:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:13:41 +0000 (14:13 -0700)
commit67302ebd2581230d33baf0c1c734ffcbaa0d6cda
treef1c65a6325068ea7baeec716adea5176cdbe6f20
parent57b9e1a5b96c6ba7edd5f94d91fda54aaddbf17d
[NET]: Reduce size of sk_buff by 4 bytes

Reduce local_df to a bit field and ip_summed to a 2 bits
field thus saving 13 bits. Move bit fields, packet type,
and protocol into the spare area between the priority
and the destructor. Saves 4 bytes on both, 32bit and
64bit architectures.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h