Re: crc32c implementation on x86 with SSE4.2... CONFIG_BTRFS_HW_SUM

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

 



On Thu, 2008-10-16 at 14:40 +0100, Miguel Sousa Filipe wrote:
> Hi there,
> 
> I noticed that btrfs, in the git tree, has its own implementation of
> crc32c for x86 with SSE4.2 that implement a crc32 instruction.. it
> appears.
> Its protected by a ifdef CONFIG_BTRFS_HW_SUM, and if we're executing
> on the right cpu, that will bypass the kernel implementation of
> crc32c.
> 

The Btrfs support for intel's faster crc32c came from a patch intel
posted to linux-kernel.  I just hacked it up a bit at the time because I
didn't want to wait for mainline to include the work.

I don't see intel's patches in mainline yet, but I know there was a plan
to get them there.

-chris


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

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux