Re: [PATCH] memcg: Replace mm->owner with mm->memcg
From: Michal Hocko
Date: Fri May 04 2018 - 07:08:01 EST
I am getting the following for nommu with MEMCG=y randconfig:
kernel/fork.o: In function `mm_init':
fork.c:(.text+0x948): undefined reference to `mm_update_memcg'
kernel/fork.o: In function `mmput':
fork.c:(.text+0x119c): undefined reference to `mm_update_memcg'
make: *** [vmlinux] Error 1
I am sorry but I didn't get to look at it much more but I suspect you
just have to move mm_update_memcg up before mem_cgroup_do_precharge.
--
Michal Hocko
SUSE Labs