Re: [PATCH 2/4] mm: support nesting memalloc_use_memcg()

2020-08-24 Thread Dan Schatzberg
On Mon, Aug 24, 2020 at 09:19:01AM -0700, Roman Gushchin wrote: > Hi Dan, > > JFYI: I need a similar patch for the bpf memory accounting rework, > so I ended up sending it separately (with some modifications including > different naming): https://lkml.org/lkml/2020/8/21/1464 . > > Can you

Re: [PATCH 2/4] mm: support nesting memalloc_use_memcg()

2020-08-24 Thread Roman Gushchin
On Mon, Aug 24, 2020 at 11:36:00AM -0400, Dan Schatzberg wrote: > From: Johannes Weiner > > The memalloc_use_memcg() function to override the default memcg > accounting context currently doesn't nest. But the patches to make the > loop driver cgroup-aware will end up nesting: > > [ 98.137605]

[PATCH 2/4] mm: support nesting memalloc_use_memcg()

2020-08-24 Thread Dan Schatzberg
From: Johannes Weiner The memalloc_use_memcg() function to override the default memcg accounting context currently doesn't nest. But the patches to make the loop driver cgroup-aware will end up nesting: [ 98.137605] alloc_page_buffers+0x210/0x288 [ 98.141799] __getblk_gfp+0x1d4/0x400 [

[PATCH 2/4] mm: support nesting memalloc_use_memcg()

2020-05-28 Thread Dan Schatzberg
From: Johannes Weiner The memalloc_use_memcg() function to override the default memcg accounting context currently doesn't nest. But the patches to make the loop driver cgroup-aware will end up nesting: [ 98.137605] alloc_page_buffers+0x210/0x288 [ 98.141799] __getblk_gfp+0x1d4/0x400 [