Re: [PATCH 00/13] Introduce seqnum_ops

From: Matthew Wilcox
Date: Tue Nov 10 2020 - 23:33:38 EST


On Tue, Nov 10, 2020 at 12:53:26PM -0700, Shuah Khan wrote:
> There are a number of atomic_t usages in the kernel where atomic_t api
> is used strictly for counting sequence numbers and other statistical
> counters and not for managing object lifetime.

We already have something in Linux called a sequence counter, and it's
different from this. ID counter? instance number? monotonic_t? stat_t?