Files
kernel/include/linux
Shaohua Li c84598bbfa percpu_counter: change return value and add comments
The percpu_counter_*_positive() API in UP case doesn't check if return
value is positive.  Add comments to explain why we don't.  Also if count <
0, returns 0 instead of 1 for *read_positive().

[akpm@linux-foundation.org: tweak comment]
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-05-25 08:39:54 -07:00
..
2011-05-24 00:06:26 -07:00
2011-05-23 10:47:06 -05:00
2011-05-24 22:55:24 +10:00
2011-05-25 08:39:52 -07:00
2011-05-24 22:55:24 +10:00
2011-05-24 14:33:35 +02:00
2011-05-25 08:39:19 -07:00