[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51C1871B.7080704@asianux.com>
Date: Wed, 19 Jun 2013 18:25:31 +0800
From: Chen Gang <gang.chen@...anux.com>
To: Mel Gorman <mgorman@...e.de>
CC: hannes@...xchg.org, riel@...hat.com, mhocko@...e.cz,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH v2] mm/vmscan.c: 'lru' may be used without initialized after
the patch "3abf380..." in next-20130607 tree
'lru' may be used without initialized, so need regressing part of the
related patch.
The related patch:
"3abf380 mm: remove lru parameter from __lru_cache_add and lru_cache_add_lru"
Signed-off-by: Chen Gang <gang.chen@...anux.com>
---
mm/vmscan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index fe73724..d03facb 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -595,6 +595,7 @@ redo:
* unevictable page on [in]active list.
* We know how to handle that.
*/
+ lru = page_lru_base_type(page);
lru_cache_add(page);
} else {
/*
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists