[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1393970109.26794.129.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 04 Mar 2014 13:55:09 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: anton@...ba.org, edumazet@...gle.com, gustavold@...ux.vnet.ibm.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: unix socket code abuses csum_partial
On Tue, 2014-03-04 at 16:23 -0500, David Miller wrote:
> From: Eric Dumazet <eric.dumazet@...il.com>
> > Or simply use full_name_hash()
>
> I would prefer not, because this would be a performance regression
> on platforms other than x86 and ARM, because only they implement
> the optimized load_unaligned_zeropad().
>
> Other architectures would end up with a byte-by-byte hash computation.
Oh right, I missed this was fast only on x86 and ARM.
Sound like a project for arches maintainers then ;)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists