Re: [PATCH 2/6] locking: Introduce range reader/writer lock

From: Davidlohr Bueso
Date: Thu Apr 06 2017 - 12:51:06 EST


On Thu, 06 Apr 2017, Laurent Dufour wrote:

How is 'seqnum' wrapping handled here ?
I'd rather see something like time_before() here, isn't it ?

Its a 64bit counter, no overflows.