mm/oom: add oom control check for memcg

upstream commit: 9490ff2 implements OOM notifier using cgroup
notification API, which allows applications to be notified when OOM
happens in memory cgroups. This patch adds oom control checking when
executing oom tests.

Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
3 files changed