[lkml]   [2017]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] percpu fix for v4.10-rc6
Linus Torvalds <> 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.


 \ /
  Last update: 2017-02-01 11:02    [W:0.057 / U:21.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site