linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] support for gzipped (ELF) core dumps
@ 2005-01-08 17:27 Shaheed
  2005-01-13 11:51 ` Jan Frey
  0 siblings, 1 reply; 4+ messages in thread
From: Shaheed @ 2005-01-08 17:27 UTC (permalink / raw)
  To: linux-kernel



 >+/* This table is needed for efficient CRC32 calculation */
 >+static const unsigned long crc_table[8][256] = {
 >+ {
 >+ 0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL,
 
First, by using "unsigned long", you may be doubling the size on most 64 bit 
platforms. Second, I'm pretty sure there is a standard implementation of 
several CRCs already in the kernel - is there a reason not to use one of them 
(e.g. a different polynomial)?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-13 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-08 17:27 [PATCH] support for gzipped (ELF) core dumps Shaheed
2005-01-13 11:51 ` Jan Frey
2005-01-13 13:29   ` Shaheed
2005-01-13 15:28   ` [PATCH] Updated: " Jan Frey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).