Revision ef703f49a6c5b909a85149bb6625c4ed0d697186 authored by George Spelvin on 27 May 2016, 03:00:23 UTC, committed by George Spelvin on 28 May 2016, 19:42:51 UTC
The "simplified" prime multipliers made very bad hash functions, so get rid
of them.  This completes the work of 689de1d6ca.

To avoid the inefficiency which was the motivation for the "simplified"
multipliers, hash_64() on 32-bit systems is changed to use a different
algorithm.  It makes two calls to hash_32() instead.

drivers/media/usb/dvb-usb-v2/af9015.c uses the old GOLDEN_RATIO_PRIME_32
for some horrible reason, so it inherits a copy of the old definition.

Signed-off-by: George Spelvin <linux@sciencehorizons.net>
Cc: Antti Palosaari <crope@iki.fi>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
1 parent 92d5677
History
File Mode Size
platform
acbuffer.h -rw-r--r-- 10.4 KB
acconfig.h -rw-r--r-- 8.5 KB
acexcep.h -rw-r--r-- 17.4 KB
acnames.h -rw-r--r-- 3.7 KB
acoutput.h -rw-r--r-- 17.5 KB
acpi.h -rw-r--r-- 3.1 KB
acpi_bus.h -rw-r--r-- 17.5 KB
acpi_drivers.h -rw-r--r-- 4.0 KB
acpi_io.h -rw-r--r-- 647 bytes
acpi_lpat.h -rw-r--r-- 1.5 KB
acpi_numa.h -rw-r--r-- 466 bytes
acpiosxf.h -rw-r--r-- 13.0 KB
acpixf.h -rw-r--r-- 31.0 KB
acrestyp.h -rw-r--r-- 17.5 KB
actbl.h -rw-r--r-- 19.3 KB
actbl1.h -rw-r--r-- 32.8 KB
actbl2.h -rw-r--r-- 39.5 KB
actbl3.h -rw-r--r-- 19.1 KB
actypes.h -rw-r--r-- 41.8 KB
acuuid.h -rw-r--r-- 4.0 KB
apei.h -rw-r--r-- 1.3 KB
button.h -rw-r--r-- 582 bytes
cppc_acpi.h -rw-r--r-- 2.9 KB
ghes.h -rw-r--r-- 1.5 KB
hed.h -rw-r--r-- 371 bytes
pdc_intel.h -rw-r--r-- 1009 bytes
processor.h -rw-r--r-- 10.4 KB
reboot.h -rw-r--r-- 162 bytes
video.h -rw-r--r-- 1.7 KB

back to top