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 36/70] mm, vmscan: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from mm/vmscan.

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

diff --git a/mm/vmscan.c b/mm/vmscan.c
index 0f16ffe..25c0109 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -3454,7 +3454,7 @@ static int cpu_callback(struct notifier_block *nfb, unsigned long action,
{
int nid;

- if (action == CPU_ONLINE || action == CPU_ONLINE_FROZEN) {
+ if ((action & ~CPU_TASKS_FROZEN) == CPU_ONLINE) {
for_each_node_state(nid, N_MEMORY) {
pg_data_t *pgdat = NODE_DATA(nid);
const struct cpumask *mask;
--
2.0.0.rc2


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