[RFC PATCH v1 38/70] mm, memcontrol: _FROZEN Cleanup

From: Chen, Gong
Date: Tue Jul 22 2014 - 22:45:46 EST


Remove XXX_FROZEN state from mm/memcontrol.

Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
mm/memcontrol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index a2c7bcb..871667d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -2540,7 +2540,7 @@ static int memcg_cpu_hotplug_callback(struct notifier_block *nb,
if (action == CPU_ONLINE)
return NOTIFY_OK;

- if (action != CPU_DEAD && action != CPU_DEAD_FROZEN)
+ if ((action & ~CPU_TASKS_FROZEN) != CPU_DEAD)
return NOTIFY_OK;

for_each_mem_cgroup(iter)
--
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/