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:48 PM, Martin Husemann <martin%duskware.de@localhost> wrote:
> 
> On Fri, Aug 12, 2016 at 12:44:36PM -0700, Alistair Crooks wrote:
>> Yeah, a lib would be the best place for this - as well as ext\dfs, iscsi
>> and sctp use crc32c, and there will probably be more users. Would also be
>> good to get this shared with userland via src/common
> 
> There are space/time trade offs and we might need a special small version
> for bootloaders. Innocent changes in this area made booting of compressed
> kernels take multiple minutes (instead of a few seconds) on some machines
> recently.

True.  A smallest implementation would be a bit at a time (essentially just executing the definition); a good compromise is the VAX one of 4 bits at a time.

	paul



Home | Main Index | Thread Index | Old Index