[lkml]   [2002]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectCRC32 - computed or table-driven?

I need to compute a crc32 in my small not-ready-for-the-prime-time
patch against 2.4.19-pre. I do not (yet) follow the 2.5 development.

There is <linux/crc32.h> that does what I want, but not quite
effectively and with comments that it is unsuitable for bulk data
and that it will migrate to net/core/crc.c.

There are table-driven /usr/src/linux-2.4.19/fs/jffs2/crc32.*, but
this code is hidden in a filesystem subtree.

Any plans to do it "the right way" in 2.4? Is net/core (mentioned
in the crc32.h) the right place? - as we see it is used also
in the filesystem code and lib would be probably a better place.

I can post a patch, but I cannot test whether it breaks jffs2
and as this adds 1 kB to the kernel that might not be needed
I would like to ask first. Who is hacking these parts?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.043 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site