[RFC PATCH v1 36/70] mm, vmscan: _FROZEN Cleanup

From: Chen, Gong
Date: Tue Jul 22 2014 - 22:35:32 EST


Remove XXX_FROZEN state from mm/vmscan.

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

--
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/