lkml.org 
[lkml]   [2011]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2011-04-15 05:43    [W:0.031 / U:148.312 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site