[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180307184141.3dff2f6c0f7d415912e50030@linux-foundation.org>
Date: Wed, 7 Mar 2018 18:41:41 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: broonie@...nel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-next@...r.kernel.org, mhocko@...e.cz,
mm-commits@...r.kernel.org, sfr@...b.auug.org.au,
Shakeel Butt <shakeelb@...gle.com>
Subject: Re: mmotm 2018-03-07-16-19 uploaded (UML & memcg)
On Wed, 7 Mar 2018 18:20:12 -0800 Randy Dunlap <rdunlap@...radead.org> wrote:
> On 03/07/2018 04:20 PM, akpm@...ux-foundation.org wrote:
> > The mm-of-the-moment snapshot 2018-03-07-16-19 has been uploaded to
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > mmotm-readme.txt says
> >
> > README for mm-of-the-moment:
> >
> > http://www.ozlabs.org/~akpm/mmotm/
> >
> > This is a snapshot of my -mm patch queue. Uploaded at random hopefully
> > more than once a week.
>
> UML on i386 and/or x86_64:
>
> defconfig, CONFIG_MEMCG is not set:
>
> ../fs/notify/group.c: In function 'fsnotify_final_destroy_group':
> ../fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type
> css_put(&group->memcg->css);
oops.
From: Andrew Morton <akpm@...ux-foundation.org>
Subject: fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix
fix CONFIG_MEMCG=n build
Reported-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Amir Goldstein <amir73il@...il.com>
Cc: Christoph Lameter <cl@...ux.com>
Cc: David Rientjes <rientjes@...gle.com>
Cc: Greg Thelen <gthelen@...gle.com>
Cc: Jan Kara <jack@...e.cz>
Cc: Johannes Weiner <hannes@...xchg.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@....com>
Cc: Mel Gorman <mgorman@...e.de>
Cc: Michal Hocko <mhocko@...nel.org>
Cc: Pekka Enberg <penberg@...nel.org>
Cc: Shakeel Butt <shakeelb@...gle.com>
Cc: Vladimir Davydov <vdavydov.dev@...il.com>
Cc: Vlastimil Babka <vbabka@...e.cz>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---
fs/notify/group.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/notify/group.c~fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix
+++ a/fs/notify/group.c
@@ -38,7 +38,7 @@ static void fsnotify_final_destroy_group
group->ops->free_group_priv(group);
if (group->memcg)
- css_put(&group->memcg->css);
+ mem_cgroup_put(group->memcg);
kfree(group);
}
_
Powered by blists - more mailing lists