Some questions about cgroup aware OOM killer.

From: ufo19890607
Date: Thu Apr 19 2018 - 03:17:29 EST


From: yuzhoujian <yuzhoujian@xxxxxxxxxxxxxxx>

Hi Roman
I've read your patchset about cgroup aware OOM killer, and try
to merge your patchset to the upstream kernel(v4.17-rc1). But
I found some functions which in your patch([PATCH v13 3/7]
mm, oom: cgroup-aware OOM killer) does not exist in the upstream
kernel. Which version of the kernel do you patch on? And, do you
have the latest patchset?

The faults in PATCH v13 3/7:
1. mm/oom_kill.o: In function `out_of_memory':
/linux/mm/oom_kill.c:1125: undefined reference to `alloc_pages_before_oomkill'
2. mm/oom_kill.c: In function âout_of_memoryâ:
mm/oom_kill.c:1125:5: error: âstruct oom_controlâ has no member named âpageâ
oc->page = alloc_pages_before_oomkill(oc);
^

Best wishes