lkml.org 
[lkml]   [2011]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 3/8] mm: memcg: clean up fault accounting
    On Wed, 23 Nov 2011 16:42:26 +0100
    Johannes Weiner <hannes@cmpxchg.org> wrote:

    > From: Johannes Weiner <jweiner@redhat.com>
    >
    > The fault accounting functions have a single, memcg-internal user, so
    > they don't need to be global. In fact, their one-line bodies can be
    > directly folded into the caller. And since faults happen one at a
    > time, use this_cpu_inc() directly instead of this_cpu_add(foo, 1).
    >
    > Signed-off-by: Johannes Weiner <jweiner@redhat.com>

    Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

    I'm not sure why Ying Han used this style.



    \
     
     \ /
      Last update: 2011-11-24 01:03    [from the cache]
    ©2003-2011 Jasper Spaans