tech-kern archive

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

Re: Generic crc32c support in kernel?



On Fri, Aug 12, 2016 at 07:37:50PM +0000, Paul_Koning%Dell.com@localhost wrote:
> 
> 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.
> 

It would be really nice to not pay the function call overhead on modern
Intel CPUs where this is a single instruction.  Not sure this is possible
in a generic kernel without resorting to binary patch, but we do that in
other places...

Thor


Home | Main Index | Thread Index | Old Index