On Fri, Aug 4, 2017 at 3:12 PM, Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> wrote: >> Fair enough. Yes. I can apply it. The question is, do you want to remove >> the duplicate set of API? (by testing "list->rm"). > > Sure but I think I will even not test anything at all. > For the others lists we don't touch to the ->rm field and > we have the guarantee that it will be initialized to zero > so adding nr or adding (nr - rm) will be the same anyway > (and doing the substraction certainly won't cost more than > adding a test). Yes, exactly. Testing was the mental model. Implementation can be optimized away. :-) Wait for your new patch then. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html