diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-23 05:06:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-26 18:31:13 -0700 |
commit | cb4dfe562cac6fcb544df752e40c1d78000d0712 (patch) | |
tree | a256abb0ecbfb4c1909563274ee9e7d0138b1b16 /drivers/net/xen-netfront.c | |
parent | c5256c51232d8312755e8de2b514c426b19b101a (diff) | |
download | op-kernel-dev-cb4dfe562cac6fcb544df752e40c1d78000d0712.zip op-kernel-dev-cb4dfe562cac6fcb544df752e40c1d78000d0712.tar.gz |
net: skb_frag_t can be smaller on small arches
On 32bit arches, if PAGE_SIZE is smaller than 65536, we can use 16bit
offset and size fields. This patch saves 72 bytes per skb on i386, or
128 bytes after rounding.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions