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

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

 



Dnia 2008-10-16, czw o godzinie 09:49 -0400, Chris Mason pisze:
> 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.
> I don't see intel's patches in mainline yet, but I know there was a
plan
> to get them there.

  It seems to be merged:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8cb51ba8e06570a5fff674b3744d12a1b089f2d0

  Using generic, replaceable by arch version is surely better. This way
you can avoid implementing crc32 for each architecture (like, for
example UltraSPARC T2, which computes crc at healthy 48 GB/s). 

-- 
Tomasz Torcz

--
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