On Fri, Aug 12, 2016 at 07:37:50PM +0000, [email protected] 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
