lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 07/18] mm: memcontrol: prepare move_account for removal of private page type counters
    On Mon, Apr 20, 2020 at 06:11:15PM -0400, Johannes Weiner wrote:
    > When memcg uses the generic vmstat counters, it doesn't need to do
    > anything at charging and uncharging time. It does, however, need to
    > migrate counts when pages move to a different cgroup in move_account.
    >
    > Prepare the move_account function for the arrival of NR_FILE_PAGES,
    > NR_ANON_MAPPED, NR_ANON_THPS etc. by having a branch for files and a
    > branch for anon, which can then divided into sub-branches.
    >
    > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>

    Reviewed-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>

    \
     
     \ /
      Last update: 2020-04-22 08:42    [W:4.962 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site