mm: memcontrol backport from Linux Kernel 3.1