tech-kern archive

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

Re: Generic crc32c support in kernel?



> On Aug 12, 2016, at 3:24 PM, Jaromír Doleček <jaromir.dolecek%gmail.com@localhost> wrote:
> 
> ...
> We do have crc32 support in libkern, so I was thinking doing something along that.
> ...
> What is general option, is there any interest to have crc32c support consolidated into a lib, should I put some efford into making this shared code? It adds some kernel bloat, so I'm slightly reluctant.

It seems sensible.  It could be done by a common CRC routine that takes a table pointer argument, then the two specific routines are just wrappers.

	paul



Home | Main Index | Thread Index | Old Index