Patrick Steinhardt <ps@xxxxxx> writes: > The only difference between `stack_compact_range_stats()` and > `stack_compact_range()` is that the former updates stats on failure, > whereas the latter doesn't. There are no callers anymore that do not > want their stats updated though, making the indirection unnecessary. > > Inline the stat updates into `stack_compact_range()`. > This also ensures that we don't have users who end up using `stack_compact_range()` because they didn't know about `stack_compact_range_stats()`. Which was the case before, I think, I remember one of the compaction function calling `stack_compact_range()` directly. I see it is no longer the case though. Nice. [snip]
Attachment:
signature.asc
Description: PGP signature