On Mon, 3 Jul 2023 06:47:12 +0300 Tzvetomir Stoyanov <tz.stoyanov@xxxxxxxxx> wrote: > Ok, I'll send v3 with the counter, although I think it is a bit > overengineering - that optimization is in code that is unlikely to be > executed. It's not really over-engineering. We have this type of logic all over the kernel. When rolling back something, you really only want to rollback what you did, and not more. It prevents future bugs and makes things a bit more robust. I'll go pick up v3 now. Thanks Tzvetomir! -- Steve