Messages in this thread |  | | | Date | Fri, 15 Apr 2011 12:41:29 +0900 | | From | Tejun Heo <> | | Subject | Re: [patch v3 1/3] percpu_counter: change return value and add comments |
| |
On Thu, Apr 14, 2011 at 10:04:48AM +0800, shaohua.li@intel.com wrote: > 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(). > > Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Applied to percpu#for-2.6.40 w/ Eric's Acked-by added.
Thanks.
-- tejun
|  |