The patch titled i386: optimize memset of 6 and 8 bytes has been removed from the -mm tree. Its filename was i386-optimize-memset-of-6-and-8-bytes.patch This patch was dropped because it was nacked ------------------------------------------------------ Subject: i386: optimize memset of 6 and 8 bytes From: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> Tne network code does memset for 6 and 8 byte values, that can easily be optimized into simple assignments without string instructions. Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-i386/string.h | 8 ++++++++ 1 files changed, 8 insertions(+) diff -puN include/asm-i386/string.h~i386-optimize-memset-of-6-and-8-bytes include/asm-i386/string.h --- a/include/asm-i386/string.h~i386-optimize-memset-of-6-and-8-bytes +++ a/include/asm-i386/string.h @@ -228,6 +228,14 @@ static __always_inline void * __constant case 4: *(unsigned long *)s = pattern; return s; + case 6: + *(unsigned long *)s = pattern; + *(2+(unsigned short *)s) = pattern; + return s; + case 8: + *(unsigned long *)s = pattern; + *(1+(unsigned long *)s) = pattern; + return s; } #define COMMON(x) \ __asm__ __volatile__( \ _ Patches currently in -mm which might be from shemminger@xxxxxxxxxxxxxxxxxxxx are pci-x-pci-express-read-control-interfaces-mthca.patch git-netdev-all.patch pci-x-pci-express-read-control-interfaces-e1000.patch ktime_sub_ns-analog-of-ktime_add_ns.patch export-reciprocal_value-for-modules.patch sky2-avoid-divide-in-receive-path.patch sky2-118.patch skge-remove-broken-and-unused-phy_m_pc_mdi_xmode-macro.patch sky2-restore-multicast-list-on-resume-and-other-ops.patch git-net.patch i386-optimize-memset-of-6-and-8-bytes.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html