<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/lib/hash.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-03-19T23:51:04Z</updated>
<entry>
<title>x86, hash: Simplify switch, add __init annotation</title>
<updated>2014-03-19T23:51:04Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2014-02-27T08:47:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a5917e9787dd73284f04e35c3cfdb39a67bf0d5'/>
<id>urn:sha1:7a5917e9787dd73284f04e35c3cfdb39a67bf0d5</id>
<content type='text'>
Minor cleanups:

- simplify switch statement
- add __init annotation to setup_arch_fast_hash()

Signed-off-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Link: http://lkml.kernel.org/r/530F09CE020000780011FBEF@nat28.tlf.novell.com
Cc: Francesco Fusco &lt;ffusco@redhat.com&gt;
Cc: Thomas Graf &lt;tgraf@redhat.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86, hash: Swap arguments passed to crc32_u32()</title>
<updated>2014-03-19T23:51:04Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2014-02-27T08:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5cdfdf90901c51363441365997eecd58efd9374'/>
<id>urn:sha1:c5cdfdf90901c51363441365997eecd58efd9374</id>
<content type='text'>
... to match the function's parameters. While reportedly commutative,
using the proper order allows for leveraging the instruction permitting
the source operand to be in memory.

[ hpa: This code originated in the dpdk toolkit.  This was a bug in dpdk
  which has recently been fixed in part due to an earlier version of
  this patch. ]

Signed-off-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Link: http://lkml.kernel.org/r/530F09B6020000780011FBEB@nat28.tlf.novell.com
Acked-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Cc: Francesco Fusco &lt;ffusco@redhat.com&gt;
Cc: Thomas Graf &lt;tgraf@redhat.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86, hash: Fix build failure with older binutils</title>
<updated>2014-03-19T23:51:04Z</updated>
<author>
<name>Jan Beulich</name>
</author>
<published>2014-02-27T08:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06325190bd577e11429444d54f454b9d13f560c9'/>
<id>urn:sha1:06325190bd577e11429444d54f454b9d13f560c9</id>
<content type='text'>
Just like for other ISA extension instruction uses we should check
whether the assembler actually supports them. The fallback here simply
is to encode an instruction  with fixed operands (%eax and %ecx).

[ hpa: tagging for -stable as a build fix ]

Signed-off-by: Jan Beulich &lt;jbeulich@suse.com&gt;
Link: http://lkml.kernel.org/r/530F0996020000780011FBE7@nat28.tlf.novell.com
Cc: Francesco Fusco &lt;ffusco@redhat.com&gt;
Cc: Thomas Graf &lt;tgraf@redhat.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v3.14
</content>
</entry>
<entry>
<title>lib: introduce arch optimized hash library</title>
<updated>2013-12-17T19:27:17Z</updated>
<author>
<name>Francesco Fusco</name>
</author>
<published>2013-12-12T15:09:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71ae8aac3e198c6f3577cb7ad3a17f6128e97bfa'/>
<id>urn:sha1:71ae8aac3e198c6f3577cb7ad3a17f6128e97bfa</id>
<content type='text'>
We introduce a new hashing library that is meant to be used in
the contexts where speed is more important than uniformity of the
hashed values. The hash library leverages architecture specific
implementation to achieve high performance and fall backs to
jhash() for the generic case.

On Intel-based x86 architectures, the library can exploit the crc32l
instruction, part of the Intel SSE4.2 instruction set, if the
instruction is supported by the processor. This implementation
is twice as fast as the jhash() implementation on an i7 processor.

Additional architectures, such as Arm64 provide instructions for
accelerating the computation of CRC, so they could be added as well
in follow-up work.

Signed-off-by: Francesco Fusco &lt;ffusco@redhat.com&gt;
Signed-off-by: Daniel Borkmann &lt;dborkman@redhat.com&gt;
Signed-off-by: Thomas Graf &lt;tgraf@redhat.com&gt;
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
