[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <wvsagtywkr5rjn3y6fjz4wewmsyymxulim4zabunonmtxe4q4c@i7fd6bnwrbwp>
Date: Mon, 19 Aug 2024 08:37:50 -0700
From: Shakeel Butt <shakeel.butt@...ux.dev>
To: Muchun Song <songmuchun@...edance.com>
Cc: muchun.song@...ux.dev, hannes@...xchg.org, mhocko@...nel.org,
roman.gushchin@...ux.dev, akpm@...ux-foundation.org, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
syzbot+ef4ecf7b6bdc4157bfa4@...kaller.appspotmail.com
Subject: Re: [PATCH] mm: kmem: fix split_page_memcg()
On Mon, Aug 19, 2024 at 04:04:15PM GMT, Muchun Song wrote:
> split_page_memcg() does not care about the returned memcg for kmem
> pages, so folio_memcg_charged() should be used, otherwise obj_cgroup_memcg
> will complain about this.
Basically avoid calling folio_memcg() for folio_memcg_kmem(folio),
correct?
>
> Reported-by: syzbot+ef4ecf7b6bdc4157bfa4@...kaller.appspotmail.com
> Signed-off-by: Muchun Song <songmuchun@...edance.com>
Acked-by: Shakeel Butt <shakeel.butt@...ux.dev>
Powered by blists - more mailing lists