WIP: update tizen_qemu_defconfig
[platform/kernel/linux-starfive.git] / mm / memcontrol.c
index 266a1ab..3e8f1ad 100644 (file)
@@ -3910,6 +3910,10 @@ static int mem_cgroup_move_charge_write(struct cgroup_subsys_state *css,
 {
        struct mem_cgroup *memcg = mem_cgroup_from_css(css);
 
+       pr_warn_once("Cgroup memory moving (move_charge_at_immigrate) is deprecated. "
+                    "Please report your usecase to linux-mm@kvack.org if you "
+                    "depend on this functionality.\n");
+
        if (val & ~MOVE_MASK)
                return -EINVAL;