Re: [PATCH 2/5] mm: migration of hugetlbfs page skip memcg

From: Shakeel Butt
Date: Mon Aug 31 2020 - 10:40:57 EST


On Sun, Aug 30, 2020 at 2:01 PM Hugh Dickins <hughd@xxxxxxxxxx> wrote:
>
> hugetlbfs pages do not participate in memcg: so although they do find
> most of migrate_page_states() useful, it would be better if they did
> not call into mem_cgroup_migrate() - where Qian Cai reported that LTP's
> move_pages12 triggers the warning in Alex Shi's prospective commit
> "mm/memcg: warning on !memcg after readahead page charged".
>
> Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>