The patch titled Subject: memcg: include linux/mm.h has been added to the -mm tree. Its filename is memcg-simplify-and-inline-__mem_cgroup_from_kmem-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/memcg-simplify-and-inline-__mem_cgroup_from_kmem-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/memcg-simplify-and-inline-__mem_cgroup_from_kmem-fix.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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Arnd Bergmann <arnd@xxxxxxxx> Subject: memcg: include linux/mm.h A recent change to the memcg code added a call to virt_to_head_page, which is declared in linux/mm.h, but this is not necessarily included here and will cause compile errors: include/linux/memcontrol.h:841:9: error: implicit declaration of function 'virt_to_head_page' [-Werror=implicit-function-declaration] This adds an explicit include statement that gets rid of the error. Fixes: 1ead4c071978 ("memcg: simplify and inline __mem_cgroup_from_kmem") Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Cc: Vladimir Davydov <vdavydov@xxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/memcontrol.h | 1 + 1 file changed, 1 insertion(+) diff -puN include/linux/memcontrol.h~memcg-simplify-and-inline-__mem_cgroup_from_kmem-fix include/linux/memcontrol.h --- a/include/linux/memcontrol.h~memcg-simplify-and-inline-__mem_cgroup_from_kmem-fix +++ a/include/linux/memcontrol.h @@ -27,6 +27,7 @@ #include <linux/vmpressure.h> #include <linux/eventfd.h> #include <linux/mmzone.h> +#include <linux/mm.h> #include <linux/writeback.h> struct mem_cgroup; _ Patches currently in -mm which might be from arnd@xxxxxxxx are memcg-simplify-and-inline-__mem_cgroup_from_kmem-fix.patch arm-thp-remove-infrastructure-for-handling-splitting-pmds-fix.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