On Thu, Mar 16, 2017 at 01:04:49AM +0000, Bart Van Assche wrote: > Have you considered to introduce something like the function below? I think > that would make the changes smaller and hence easier to review. I started like this and then just inlined the arithmatic in the few call sites. I think the algorithm reads as clearly either way and I generally prefer to use the standard library directly.. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html