From: Horst Hartmann Date: Thu, 17 Feb 2011 12:13:59 +0000 (+0100) Subject: [S390] net: provide architecture specific NET_SKB_PAD X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd30ac327481f1663b6526fa9fa078569188b7cc;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [S390] net: provide architecture specific NET_SKB_PAD NET_SKB_PAD has been increased from 32 to 64 and later to max(32, L1_CACHE_BYTES). This led to a 25% throughput decrease for streaming workloads accompanied by a 37% CPU cost increase on s390. Define a architecture specific NET_SKB_PAD with the old value of 32. Signed-off-by: Horst Hartmann Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/cache.h b/arch/s390/include/asm/cache.h index 24aafa68b643..2a30d5ac0667 100644 --- a/arch/s390/include/asm/cache.h +++ b/arch/s390/include/asm/cache.h @@ -13,6 +13,7 @@ #define L1_CACHE_BYTES 256 #define L1_CACHE_SHIFT 8 +#define NET_SKB_PAD 32 #define __read_mostly __attribute__((__section__(".data..read_mostly")))