The patch titled Subject: fs-mm-account-buffer_head-to-kmemcg.patch.fix has been added to the -mm tree. Its filename is fs-mm-account-buffer_head-to-kmemcgpatchfix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-mm-account-buffer_head-to-kmemcgpatchfix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-mm-account-buffer_head-to-kmemcgpatchfix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Shakeel Butt <shakeelb@xxxxxxxxxx> Subject: fs-mm-account-buffer_head-to-kmemcg.patch.fix use __GFP_ACCOUNT for directed memcg charging Link: http://lkml.kernel.org/r/20180702220208.213380-1-shakeelb@xxxxxxxxxx Signed-off-by: Shakeel Butt <shakeelb@xxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Cc: Jan Kara <jack@xxxxxxx> Cc: Amir Goldstein <amir73il@xxxxxxxxx> Cc: Greg Thelen <gthelen@xxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx> Cc: Roman Gushchin <guro@xxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/buffer.c~fs-mm-account-buffer_head-to-kmemcgpatchfix fs/buffer.c --- a/fs/buffer.c~fs-mm-account-buffer_head-to-kmemcgpatchfix +++ a/fs/buffer.c @@ -814,7 +814,7 @@ struct buffer_head *alloc_page_buffers(s bool retry) { struct buffer_head *bh, *head; - gfp_t gfp = GFP_NOFS; + gfp_t gfp = GFP_NOFS | __GFP_ACCOUNT; long offset; struct mem_cgroup *memcg; _ Patches currently in -mm which might be from shakeelb@xxxxxxxxxx are slub-track-number-of-slabs-irrespective-of-config_slub_debug.patch kvm-mm-account-shadow-page-tables-to-kmemcg.patch kvm-mm-account-shadow-page-tables-to-kmemcg-v2.patch fs-fsnotify-account-fsnotify-metadata-to-kmemcg.patch fs-fsnotify-account-fsnotify-metadata-to-kmemcg-fix.patch fs-mm-account-buffer_head-to-kmemcg.patch fs-mm-account-buffer_head-to-kmemcgpatchfix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html