Re: [PATCH 01/13] seqnum_ops: Introduce Sequence Number Ops

From: Peter Zijlstra
Date: Wed Nov 11 2020 - 11:04:19 EST


On Wed, Nov 11, 2020 at 08:56:49AM -0700, Shuah Khan wrote:

> Why would you say no to read and inc?

Because they don't guarantee uniqueness (bar wrapping), which is the
only reason to use an atomic to begin with.