[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH 10/17] prmem: documentation
From:       Igor Stoppa <igor.stoppa () gmail ! com>
Date:       2018-10-31 23:26:20
Message-ID: 8675e9d8-0ef0-7515-a894-097d4be25b73 () gmail ! com
[Download RAW message or body]



On 01/11/2018 01:19, Andy Lutomirski wrote:

> ISTM you don't need that atomic operation -- you could take a spinlock
> and then just add one directly to the variable.

It was my intention to provide a 1:1 conversion of existing code, as it 
should be easier to verify the correctness of the conversion, as long as 
there isn't any significant degradation in performance.

The rework could be done afterward.

--
igor
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic