Re: [PATCH 2/4] mm: memcontrol: add missing memcg_oom_recover() when uncharge slab page

2021-02-15 Thread Michal Hocko
On Sat 13-02-21 01:01:57, Muchun Song wrote: > When we uncharge a page, we wake up oom victims when the memcg oom > handling is outsourced to the userspace. The uncharge_batch do that > for normal and kmem pages but not slab pages. It is likely an > omission. So add the missing memcg_oom_recover()

[PATCH 2/4] mm: memcontrol: add missing memcg_oom_recover() when uncharge slab page

2021-02-12 Thread Muchun Song
When we uncharge a page, we wake up oom victims when the memcg oom handling is outsourced to the userspace. The uncharge_batch do that for normal and kmem pages but not slab pages. It is likely an omission. So add the missing memcg_oom_recover() to __memcg_kmem_uncharge(). And the function of memor