android_kernel_xiaomi_sm8350/arch/powerpc
Eric Dumazet 5933dd2f02 net: NET_SKB_PAD should depend on L1_CACHE_BYTES
In old kernels, NET_SKB_PAD was defined to 16.

Then commit d6301d3dd1 (net: Increase default NET_SKB_PAD to 32), and
commit 18e8c134f4 (net: Increase NET_SKB_PAD to 64 bytes) increased it
to 64.

While first patch was governed by network stack needs, second was more
driven by performance issues on current hardware. Real intent was to
align data on a cache line boundary.

So use max(32, L1_CACHE_BYTES) instead of 64, to be more generic.

Remove microblaze and powerpc own NET_SKB_PAD definitions.

Thanks to Alexander Duyck and David Miller for their comments.

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-15 18:16:43 -07:00
..
boot
configs
include/asm net: NET_SKB_PAD should depend on L1_CACHE_BYTES 2010-06-15 18:16:43 -07:00
kernel powerpc: remove unnecessary sync_single_range_* in swiotlb_dma_ops 2010-05-27 09:12:52 -07:00
kvm
lib
math-emu
mm
oprofile
platforms tracing: fix for tracepoint API change 2010-05-28 10:20:14 -07:00
sysdev rapidio: fix maintenance access to higher memory areas 2010-05-27 09:12:51 -07:00
xmon
Kconfig powerpc: use asm-generic/scatterlist.h 2010-05-27 09:12:54 -07:00
Kconfig.debug
Makefile
relocs_check.pl