Re: [patch 3/7] [PATCH] net,s390: provide architecture specific NET_SKB_PAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: frank.blaschka@xxxxxxxxxx
Date: Tue, 01 Feb 2011 09:16:50 +0100

> From: Horst Hartmann <horsth@xxxxxxxxxxxxxxxxxx>
> 
> 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.
> In order to fix this provide an architecture specific NET_SKB_PAD config symbol.
> 
> Signed-off-by: Horst Hartmann <horsth@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Frank Blaschka <frank.blaschka@xxxxxxxxxx>

Define it in your arch specific header file like it is designed to
be overridden.

Also, even if this Kconfig thing was the right thing to do, you would
need to put a default for it generically in init/Kconfig or
lib/Kconfig or similar.  As this is where the central documentation
for the knob would be placed.

Lastly, you failed in your commit message to describe why you wanted
to use this whacky Kconfig mechanism to override instead of using
a straight CPP define in the s390 headers.

You're modifying generic code, so you better explain what you're doing
and exactly why.

I'm not applying this series until you fix up this change, resubmit
the entire series when you have this stuff fixed up.

Thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux