[<prev] [next>] [day] [month] [year] [list]
Message-ID: <18628.1485943258@warthog.procyon.org.uk>
Date: Wed, 01 Feb 2017 10:00:58 +0000
From: David Howells <dhowells@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: dhowells@...hat.com,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arch@...r.kernel.org, Tejun Heo <tj@...nel.org>,
dougmill@...ux.vnet.ibm.com
Subject: Re: [GIT PULL] percpu fix for v4.10-rc6
Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> The return value isn't the value of the atomic variable.
>
> The return value is whether the increment happened or not (ie the "was it not zero and
> could be incremented" part?)
Okay, fair enough. I was thinking of it as atomic_long_inc_return() - which
obviously it isn't.
David
Powered by blists - more mailing lists