lkml.org 
[lkml]   [2020]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] memcg: css_tryget_online cleanups
    On Tue 03-03-20 15:49:41, Shakeel Butt wrote:
    > On Tue, Mar 3, 2020 at 1:32 AM Michal Hocko <mhocko@kernel.org> wrote:
    [...]
    > > Could you be more specific about the swap in case please?
    > >
    >
    > With swap accounting enabled, if the memcg of the swapped out page is
    > not online then the memcg extracted from the given 'mm' will be
    > charged and if 'mm' is NULL then root memcg will be charged. However I
    > could not find a code path where the given 'mm' will be NULL for
    > swap-in case.

    Yes, this is my understanding as well. All the paths are getting mm from
    a vma AFAICS. This is a valuable information for the changelog.

    --
    Michal Hocko
    SUSE Labs

    \
     
     \ /
      Last update: 2020-03-04 13:32    [W:3.135 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site