On Sat, Aug 13, 2016 at 05:17:17PM -0400, Thor Lancelot Simon wrote:
> 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...

Actually, I don't think the function call overhead matters as long as
you do the checksumming over a decent data block.

Joerg

Reply via email to