lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 38/70] mm, memcontrol: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from mm/memcontrol.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
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


\
 
 \ /
  Last update: 2014-07-23 11:41    [W:0.722 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site